Our new developer documentation is now available. Please check it out!
OdinMessageReceivedEventPayload
On this page
export interface OdinMessageReceivedEventPayload
The payload for the MessageReceived event.
Properties
Name | Type | Description |
---|---|---|
event | any | The name of the event that was fired (see keys of OdinEvents for possible values). |
messageData | Uint8Array | The message data received from the peer. |
peerId | number | The ID of the peer that sent the message. |
tag | number | An internal integer representing the type of the event. This is mainly used internally for testing purposes. |