The id of the channel that the message will be added to. ThechannelId must be included in the list of channelIds that were passed when generating the authToken.
content
string
yes
The content of the message.
metadata
plain object
no
The metadata of the message is a custom object allowing you to attach any information you need directly onto the message.
parentId
string
no
If the message is a reply to another message, set the parentId to the id of the parent message.