Buttons

Buttons can be used in Structure messages. Viber Business Messages only allows one button per message and the button can only contain a link to a webpage.

Url Button

The Url Button opens a browser with given address.

522522
...
buttons: [
  {
    "type": "url",
    "title": "Freedom",
    "payload": "https://en.wikipedia.org/wiki/Liberty"
  }
]
...
ParameterTypeDescription
type*stringMust be set to url.
title*stringTitle of the button. It is displayed on one line and the text is truncated with ellipsis (three dots in the end) if exceeds the line. You can fit usually up to 18 characters.
payload*stringUrl to be opened.