Sending a standalone rich card message

Standalone rich card with suggestions

Below is an example of a standalone rich card message with suggestions

Copy
Copied
{
   "to":"441234567890",
   "message":{
      "type":"standalone_rich_card",
      "orientation":"VERTICAL",
      "thumbnail_alignment":"RIGHT",
      "content":{
         "title":"Rich Card Ticket test",
         "description":"A Rich Card Ticket example",
         "media":{
            "height":"TALL",
            "thumbnail":{
               "file_uri":"https://mydomain.net/path/to/thumbnail.jpg"
            },
            "file":{
               "file_uri":"https://mydomain.net/path/to/file.jpg"
            }
         },
         "suggestions":[
            {
               "type":"reply",
               "display_text":"Like",
               "postback":{
                  "data":"reply_tapped"
               }
            },
            {
               "type":"reply",
               "display_text":"Stop please",
               "postback":{
                  "data":"stop_tapped"
               }
            },
            {
               "type":"action",
               "display_text":"Call us",
               "postback":{
                  "data":"call_us_tapped"
               },
               "action":{
                  "type":"dial_phone_number",
                  "phone_number":"+46555123456"
               }
            }
         ]
      }
   }
}

Rendered message

Was this page helpful?