Class

MessageEvent

MessageEvent()

Represents an m.room.message room event
Constructor

# new MessageEvent()

View Source models/events/MessageEvent.ts, line 8

Classes

MessageEvent

Members

# externalUrl

The `external_url` of the message, if it exists

View Source models/events/MessageEvent.ts, line 42

# isRedacted

Whether or not the event is redacted (or looked redacted).

View Source models/events/MessageEvent.ts, line 15

# messageType

The message's type.

View Source models/events/MessageEvent.ts, line 24

# textBody

The `body` of the message.

View Source models/events/MessageEvent.ts, line 33

Methods

# externalUrl() → {string|undefined}

The `external_url` of the message, if it exists

View Source models/events/MessageEvent.ts, line 286

string | undefined

# isRedacted() → {boolean}

Whether or not the event is redacted (or looked redacted).

View Source models/events/MessageEvent.ts, line 265

boolean

# messageType() → {MessageType}

The message's type.

View Source models/events/MessageEvent.ts, line 272

MessageType

# textBody() → {string}

The `body` of the message.

View Source models/events/MessageEvent.ts, line 279

string