Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 877 Bytes

File metadata and controls

26 lines (20 loc) · 877 Bytes

Zernio::SendInboxMessageRequestButtonsInner

Properties

Name Type Description Notes
type String Button type. phone is Facebook only. Ignored on WhatsApp (buttons always render as reply buttons).
title String Button label (max 20 chars)
url String URL for url-type buttons (Facebook/Instagram only) [optional]
payload String Payload for postback-type buttons. On WhatsApp, this is the reply ID returned on the message.received webhook when the button is tapped. [optional]
phone String Phone number for phone-type buttons (Facebook only) [optional]

Example

require 'zernio-sdk'

instance = Zernio::SendInboxMessageRequestButtonsInner.new(
  type: null,
  title: null,
  url: null,
  payload: null,
  phone: null
)