Send a new message to a chat via bot
Accessible via URL https://api.channel.io/open/v5/user-chats/{userChatId}/messages and HTTP POST
Present message parameters in POST body. This method does currently accept application/json only.
Parameter | Example | Required | Description | Parameter type |
|---|---|---|---|---|
userChatId | 5e65fa8bc2409f0c1fd3 | Required | ID of | Path |
botName | Channel-bot | Optional | Name of | Query |
POST https://api.channel.io/open/v5/user-chats/5e65fa8bc2409f0c1fd3/messages?botName=channelBot
Your POST body should look like below
JSON
Return a newly created message object.
JSON