Skip to main content

On Message Received

On Message Received

Called whenever another peer has sent a message. Connect to a Bind to On Message Received delegate node to handle this event for the specified room.

Inputs

NameTypeDescription
DelegatedelegateConnect to a Bind to On Message Received delegate node to get this event triggered when another peer sent a message.

Outputs

NameTypeDescription
Execexec
Peer IdintegerThe id of the peer that sent the message.
DataarrayThe message payload data as an array of bytes.
RoomobjectThe Room object reference of the room the message was sent in.