Send a message to a Group by groupId
Accessible via URL https://api.channel.io/open/v5/groups/{groupId}/messages and HTTP POST
The POST request body should be a Message object. This method accepts application/json
Parameter | Example | Required | Description | Parameter type |
|---|---|---|---|---|
groupId | 1234 | Required | Id of | Path |
botName | channelBot | Optional | Name of the | Query |
POST https://api.channel.io/open/v5/groups/1234/messages?botName=channelBot
Send a new message to Group by groupName
Accessible via URL https://api.channel.io/open/v5/groups/@{groupName}/messages and HTTP POST
This POST request body should be a MessaThis method accepts application/json
Parameter | Example | Required | Description | Parameter Type |
|---|---|---|---|---|
groupName | justgroup | Required | Name of | Path |
botName | channelBot | Optional | Name of the | Query |
POST https://api.channel.io/open/v5/groups/@justgroup/messages?botName=channelBot
Your POST request body should look like
Returns a newly created message object.