When using a Sinch Push channel with the Conversation API, you are able to send and receive various types of messages.
The following table details which Conversation API generic message formats are supported on the Sinch Push channel:
| Message Type | Natively Supported? |
|---|---|
| Text Message | Yes, this type of message is natively supported. |
| Media Message | Yes, this type of message is natively supported for image messages. |
| Choice Message | Yes, this type of message is natively supported. |
| Card Message | Yes, this type of message is natively supported. |
| Carousel Message | Yes, this type of message is natively supported. |
| Location Message | Yes, this type of message is natively supported. |
Messages sent on the Sinch Push channel can have one of two statuses: DELIVERED or FAILED. Below is an example of a Conversation API POST to the MESSAGE_DELIVERY webhook with a DELIVERED report; a FAILED report would have a different status and reason.
{
"app_id": "01E3S8B6YCMRNR0GGM94H80ACX",
"accepted_time": "2022-02-07T20:01:04.598Z",
"event_time": "2022-02-07T20:01:09.892757478Z",
"project_id": "c36f3d3d-1513-4edd-ae42-11995557ff61",
"message_delivery_report": {
"message_id": "01FVAWD1JP5PPB3KEZCBKGN0ES",
"conversation_id": "01FNV9VKCVZ6S6FVGKF62QBZ75",
"status": "DELIVERED",
"channel_identity": {
"channel": "SINCH_PUSH",
"identity": "46702571492",
"app_id": ""
},
"contact_id": "01FNV9VK83AMY60JPNHZ7YE9X6",
"metadata": "",
"processing_mode": "CONVERSATION"
},
"message_metadata": ""
}