Interface RoomMessageTextEventContent

Content format of timeline events with type m.room.message and msgtype m.text, m.emote, or m.notice

interface RoomMessageTextEventContent {
    body: string;
    format?: "org.matrix.custom.html";
    formatted_body?: string;
    m.mentions?: {
        room?: boolean;
        user_ids?: string[];
    };
    msgtype: Text | Emote | Notice;
}

Hierarchy (view full)

Properties

body: string
format
formatted_body?: string
m.mentions?: {
    room?: boolean;
    user_ids?: string[];
}
msgtype: Text | Emote | Notice