logo
Available on crate feature events only.
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.
Information about the event a “rich reply” is replying to.
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.
Replacementunstable-msc2676
The event this relation belongs to replaces another event.
The content of an m.room.message event.
The payload for a server notice message.
The payload for a text message.
Threadunstable-msc3440
The content of a thread relation.
Metadata about a video.
The payload for a video message.

Enums

ForwardThreadunstable-msc3440
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.
ReplyInThreadunstable-msc3440
Whether or not the message is a reply inside a thread.
Types of server notices.

Type Definitions

An m.room.message event.
An m.room.message event from a sync_events response.
An m.room.message event that has been redacted.
An m.room.message event from a sync_events response that has been redacted.
An m.room.message event.
An m.room.message event from a sync_events response.