Interface: MessageReceivedPayload
Interface describing the payload of an OdinMessageReceivedEventHandler
.
Properties
message
message:
Uint8Array
A byte array with the message.
Defined in
Odin/odin-typescript/lib/api/room/types.d.ts:253
room
room:
Room
The room where the message was received.
Defined in
Odin/odin-typescript/lib/api/room/types.d.ts:245
senderId
senderId:
number
The ID of the peer that sent the message (might not be in proximity).
Defined in
Odin/odin-typescript/lib/api/room/types.d.ts:249