POST api/SetEventUser
Request Information
URI Parameters
None.
Body Parameters
EventUser| Name | Description | Type | Additional information |
|---|---|---|---|
| chat_id | integer |
None. |
|
| user_name | string |
None. |
|
| status | integer |
None. |
|
| token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"chat_id": 1,
"user_name": "sample string 2",
"status": 3,
"token": "sample string 4"
}
application/xml, text/xml
Sample:
<EventUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChannelAPI.Classes"> <chat_id>1</chat_id> <status>3</status> <token>sample string 4</token> <user_name>sample string 2</user_name> </EventUser>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.