Skip to main content

Interface: MessageReceivedPayload

Interface describing the payload of an OdinMessageReceivedEventHandler.

Properties

message

message: Uint8Array

A byte array with the message.

Defined in

ari/lib/api/room/types.d.ts:275


peer

peer: RemotePeer

The ID of the peer that sent the message (might not be in proximity).

Defined in

ari/lib/api/room/types.d.ts:271


room

room: Room

The room where the message was received.

Defined in

ari/lib/api/room/types.d.ts:267