POST api/ZaloCallback/receiveMessageFromUser
Request Information
URI Parameters
None.
Body Parameters
ZaloMessageCallBackData| Name | Description | Type | Additional information |
|---|---|---|---|
| app_id | string |
None. |
|
| follower | Follower |
None. |
|
| sender | ZaloSender |
None. |
|
| user_id_by_app | string |
None. |
|
| recipient | ZaloRecipient |
None. |
|
| event_name | string |
None. |
|
| message | ZaloMessage |
None. |
|
| timestamp | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"app_id": "sample string 1",
"follower": {
"id": "sample string 1"
},
"sender": {
"id": "sample string 1"
},
"user_id_by_app": "sample string 2",
"recipient": {
"id": "sample string 1"
},
"event_name": "sample string 3",
"message": {
"text": "sample string 1",
"msg_id": "sample string 2"
},
"timestamp": "sample string 4"
}
application/xml, text/xml
Sample:
<ZaloMessageCallBackData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zalo_WebHook.Models.Zalo">
<app_id>sample string 1</app_id>
<event_name>sample string 3</event_name>
<follower>
<id>sample string 1</id>
</follower>
<message>
<msg_id>sample string 2</msg_id>
<text>sample string 1</text>
</message>
<recipient>
<id>sample string 1</id>
</recipient>
<sender>
<id>sample string 1</id>
</sender>
<timestamp>sample string 4</timestamp>
<user_id_by_app>sample string 2</user_id_by_app>
</ZaloMessageCallBackData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |