A customized owned request type for sending out room messages (specification).

Constructors

Properties

Accessors

Constructors

Properties

body: string

A JSON-encoded string containing the message's content.

eventType: string

A string representing the type of event to be sent.

id: string

The request ID.

roomId: string

A string representing the room to send the event to.

txnId: string

A string representing the transaction ID for this event.

Clients should generate an ID unique across requests with the same access token; it will be used by the server to ensure idempotency of requests.

Accessors