Skip to content
Last updated

There are RCS 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 RCS_WEBVIEW_MODE on the RCS channel:

{
  "app_id": "{{APP_ID}}",
  "recipient": {
    "contact_id": "{{CONTACT_ID}}"
  },
  "message": {
    "choice_message": {
      "text_message": {
        "text": "What do you want to do?"
      },
      "choices": [
        {
          "url_message": {
            "title": "Open sinch.com",
            "url": "https://www.sinch.com"
          }
        }
      ]
    }
  },
  "channel_properties": {
    "RCS_WEBVIEW_MODE": "TALL"
  }
}

The relevant RCS channel properties are detailed in the table below:

Property nameProperty value
RCS_WEBVIEW_MODEThe size of a webview to open when sending an OpenUrl action. Setting this option indicates that a webview should be used. When this property is not provided, the link will be opened in the user's default browser. Possible options are FULL, HALF, and TALL.