Learn about the format of messages and other events used with the Flow Socket API.
Any message or other kind of event you send or receive has the same JSON format.
{
"type": "...",
"payload": {
...
}
}
Parameter | Description | Required |
---|---|---|
type | The message type For example: message.send | Required |
payload | The body of the message | Required |