Viber Business Messages channel properties
There are Viber Business Messages channel-specific properties that can be used when making calls to the Conversation API. These properties can be listed under channel_properties in the message request.
For example, below is the code for adding the channel specific property VIBERBM_TEMPLATE_MESSAGE_DEVICES to a Conversation API call:
{
"app_id": "{{APP_ID}}",
"recipient": {
"contact_id": "{{CONTACT_ID}}"
},
"message": {
"template_message": {
"channel_template": {
"VIBERBM": {
"template_id": "0aac888f-2ee2-4112-9659-1755a951966a",
"language_code": "en",
"parameters": {
"pin": "1234"
}
}
}
}
},
"channel_properties": {
"VIBERBM_TEMPLATE_MESSAGE_DEVICES": "ALL"
}
}The relevant Viber Business Messages channel properties are detailed in the table below:
| Property name | Property value |
|---|---|
VIBERBM_TEMPLATE_MESSAGE_DEVICES |
Defines the devices to which a template message should be sent. Possible values: PRIMARY_ONLY, ALL |