Readonly
clientReadonly
getReadonly
updateCreate a new instance of an object
Id
Type
Instance
Context
Optional
data: unknownData
Delete an object
Id
Fetch message by Id
Channel Id
Message Id
Message
Get or create
Id
Data
Optional
attachments?: Optional
content?: null | stringOptional
edited?: null | stringOptional
embeds?: Optional
flags?: numberFormat: uint32
Bitfield of message flags
https://docs.rs/revolt-models/latest/revolt_models/v0/enum.MessageFlags.html
Optional
interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }Optional
reactions?: null | string[]Optional
restrict_reactions?: booleanOptional
masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }Optional
member?: Optional
mentions?: null | string[]Optional
nonce?: null | stringOptional
pinned?: null | booleanOptional
reactions?: { [key: string]: string[] }Optional
replies?: null | string[]Optional
system?: Optional
user?: Optional
webhook?: null | { avatar?: null | string; name: string }Whether this object is new
Check whether an id exists in the Collection
Id
Whether it exists
Check whether an object is partially defined
Id
Whether it is a partial
Iterable of keys in the map
Iterable
Number of stored objects
Size
Collection of Messages