Module ruma_events::room::message
source · Expand description
Types for the m.room.message
event.
Modules§
- Convenience methods and types to sanitize text messages.
Structs§
- Metadata about an audio clip.
- The payload for an audio message.
- The payload for an emote message.
- Metadata about a file.
- The payload for a file message.
- Common message event content fields for message types that have separate plain-text and formatted representations.
- The payload for an image message.
- The payload for a key verification request message.
- Thumbnail info associated with a location.
- The payload for a location message.
- The payload for a notice message.
- Redacted form of
RoomMessageEventContent
- Metadata about an event to be replaced.
- The content of an
m.room.message
event. - Form of
RoomMessageEventContent
without relation. - The payload for a server notice message.
- The payload for a text message.
- The unstable version of the amplitude of a waveform sample.
- Extensible event fallback data for audio messages, from the first version of MSC3245.
- Extensible event fallback data for voice messages, from the first version of MSC3245.
- Metadata about a video.
- The payload for a video message.
Enums§
- Whether or not to add intentional
Mentions
when sending a reply. - Whether or not to forward a
Relation::Thread
when sending a reply. - Types of usage limits.
- The format for the formatted representation of a message body.
- The content that is specific to each message type variant.
- Message event relationship.
- Message event relationship, except a replacement.
- Whether or not the message is a reply inside a thread.
- Types of server notices.
Functions§
- Deserialize an event’s
relates_to
field.
Type Aliases§
- An
m.room.message
event. - An
m.room.message
event from async_events
response. - An
m.room.message
event that has been redacted. - An
m.room.message
event from async_events
response that has been redacted. - An
m.room.message
event. - An
m.room.message
event from async_events
response.