Available on crate feature
events
only.Expand description
Types for the m.room.message
event.
Modules§
- sanitize
- Convenience methods and types to sanitize text messages.
Structs§
- Audio
Info - Metadata about an audio clip.
- Audio
Message Event Content - The payload for an audio message.
- Emote
Message Event Content - The payload for an emote message.
- File
Info - Metadata about a file.
- File
Message Event Content - The payload for a file message.
- Formatted
Body - Common message event content fields for message types that have separate plain-text and formatted representations.
- Image
Message Event Content - The payload for an image message.
- KeyVerification
Request Event Content - The payload for a key verification request message.
- Location
Info - Thumbnail info associated with a location.
- Location
Message Event Content - The payload for a location message.
- Notice
Message Event Content - The payload for a notice message.
- Redacted
Room Message Event Content - Redacted form of
RoomMessageEventContent
- Replacement
Metadata - Metadata about an event to be replaced.
- Reply
Metadata - Metadata about an event to reply to or to add to a thread.
- Room
Message Event Content - The content of an
m.room.message
event. - Room
Message Event Content Without Relation - Form of
RoomMessageEventContent
without relation. - Server
Notice Message Event Content - The payload for a server notice message.
- Text
Message Event Content - The payload for a text message.
- Unstable
Amplitude unstable-msc3245-v1-compat
- The unstable version of the amplitude of a waveform sample.
- Unstable
Audio Details Content Block unstable-msc3245-v1-compat
- Extensible event fallback data for audio messages, from the first version of MSC3245.
- Unstable
Voice Content Block unstable-msc3245-v1-compat
- Extensible event fallback data for voice messages, from the first version of MSC3245.
- UrlPreview
- Preview Information for a URL matched in the message’s text, according to MSC 4095.
- Video
Info - Metadata about a video.
- Video
Message Event Content - The payload for a video message.
Enums§
- AddMentions
- Whether or not to add intentional
Mentions
when sending a reply. - Forward
Thread - Whether or not to forward a
Relation::Thread
when sending a reply. - Limit
Type - Types of usage limits.
- Message
Format - The format for the formatted representation of a message body.
- Message
Type - The content that is specific to each message type variant.
- Relation
- Message event relationship.
- Relation
Without Replacement - Message event relationship, except a replacement.
- Reply
Within Thread - Whether or not the message is a reply inside a thread.
- Server
Notice Type - Types of server notices.
Functions§
- deserialize_
relation - Deserialize an event’s
relates_to
field.
Type Aliases§
- Original
Room Message Event - An
m.room.message
event. - Original
Sync Room Message Event - An
m.room.message
event from async_events
response. - Redacted
Room Message Event - An
m.room.message
event that has been redacted. - Redacted
Sync Room Message Event - An
m.room.message
event from async_events
response that has been redacted. - Room
Message Event - An
m.room.message
event. - Sync
Room Message Event - An
m.room.message
event from async_events
response.