Type Alias: MessageReceivedEventHandler()
MessageReceivedEventHandler: (
event
) =>void
Event emitted whenever a message with arbitrary data is received.
Provides the Room
instance where the message was received, the sender peer ID and the actual message data.
Parameters
• event: IOdinEvent
<MessageReceivedPayload
>
Returns
void
Defined in
Odin/odin-typescript/lib/api/room/types.d.ts:260