POST api/ChatAPI/channel/sendmessage
SendMessage
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
request |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "sender": "sample string 1", "message": "sample string 2", "channelid": "sample string 3", "members": [ { "email": "sample string 1", "login": "sample string 2" }, { "email": "sample string 1", "login": "sample string 2" }, { "email": "sample string 1", "login": "sample string 2" } ] }
text/javascript
Sample:
{"sender":"sample string 1","message":"sample string 2","channelid":"sample string 3","members":[{"email":"sample string 1","login":"sample string 2"},{"email":"sample string 1","login":"sample string 2"},{"email":"sample string 1","login":"sample string 2"}]}
application/x-www-form-urlencoded
Sample: