Interface RtmRawMessage

Interface for raw messages. You can use this interface to send and receive raw messages. You can call sendMessageToPeer or sendMessage to send a peer-to-peer or channel raw message.

Hierarchy

  • RtmRawMessage

Properties

description?: string

Description of the raw message. The maximum length is 32 KB.

Note

The maximum total length of the raw message and the description is 32 KB.
messageType?: "RAW"

Message type. RAW stands for raw messages.

rawMessage: Uint8Array

Content of the raw message in binary format. The maximum length is 32 KB.

Note

The maximum total length of the raw message and the description is 32 KB.

Generated using TypeDoc