mtx::events::msg namespace

Non-state events sent in the timeline like messages.

Classes

struct Audio
Content of m.room.message with msgtype m.audio.
struct Dummy
Content of the m.dummy event.
struct ElementEffect
Content of m.room.message with a msgtype used by Element to show a fancy effect.
struct Emote
Content of m.room.message with msgtype m.emote.
struct Encrypted
Content of the m.room.encrypted event.
struct File
Content of m.room.message with msgtype m.file.
struct ForwardedRoomKey
Content of the m.forwarded_room_key event.
struct Image
Content of m.room.message with msgtype m.image.
struct KeyRequest
A request to share a session key.
struct KeyVerificationAccept
Implements the m.key.verification.accept event.
struct KeyVerificationCancel
implementation of the m.key.verification.cancel event
struct KeyVerificationReady
Implements the m.key.verification.ready event.
struct KeyVerificationRequest
Content of the m.key.verification.request event.
struct KeyVerificationStart
Content of the m.key.verification.start event.
struct Location
Content of m.room.message with msgtype m.image.
struct Notice
Content of m.room.message with msgtype m.notice.
struct OlmCipherContent
Content of an individual message encrypted for a certain key.
struct OlmEncrypted
Content of the m.room.encrypted Olm event.
struct Reaction
Content for the m.reaction event.
struct Redacted
Stripped out content for redacted events.
struct Redaction
Content for the m.room.redaction state event.
struct RoomKey
Content of the m.room_key event.
struct StickerImage
Content of m.sticker.
struct Text
Content of m.room.message with msgtype m.text.
struct Unknown
Content of m.room.message with an unrecognized msgtype.
struct Video
Content of m.room.message with msgtype m.video.

Enums

enum class SASMethods { Decimal, Emoji, Unsupported }
Display methods for Short Authentication Strings.
enum class VerificationMethods { SASv1, Unsupported }
The different verification methods.
enum class RequestAction { Request, Cancellation, Unknown }
The type of key request.

Enum documentation

enum class mtx::events::msg::SASMethods

Display methods for Short Authentication Strings.

Enumerators
Decimal

Display 3 times 4 digits.

Emoji
Unsupported

Display 7 emoji.

enum class mtx::events::msg::VerificationMethods

The different verification methods.

Enumerators
SASv1

Short Authentication Strings.

Unsupported

Unsupported method.

enum class mtx::events::msg::RequestAction

The type of key request.

Enumerators
Request

request

Cancellation

request_cancellation

Unknown

Unknown request action.