Skip to content

Latest commit

 

History

History
54 lines (48 loc) · 2.96 KB

File metadata and controls

54 lines (48 loc) · 2.96 KB

MessenteApi::OmnimessageMessagesInner

Properties

Name Type Description Notes
sender String Phone number or alphanumeric sender name
validity Integer After how many minutes this channel is considered as failed and the next channel is attempted.Only one of "ttl" and "validity" can be used. [optional]
ttl Integer After how many seconds this channel is considered as failed and the next channel is attempted. Only one of "ttl" and "validity" can be used. [optional]
text String Text content of the RCS message
image_url String URL for the embedded image Valid combinations: 1) image_url, 2) text, image_url, button_url, button_text [optional]
button_url String URL of the button, must be specified along with ''text'', ''button_text'' and ''image_url'' (optional) [optional]
button_text String Must be specified along with ''text'', ''button_url'', ''button_text'', ''image_url'' (optional) [optional]
channel String The channel used to deliver the message [optional][default to 'rcs']
video WhatsAppVideo [optional]
autoconvert String Defines how non-GSM characters will be treated: - "on" Use replacement settings from the account's API Auto Replace settings page (default) - "full" All non GSM 03.38 characters will be replaced with suitable alternatives - "off" Message content is not modified in any way [optional]
udh String hex-encoded string containing SMS UDH [optional]
template WhatsAppTemplate [optional]
image WhatsAppImage [optional]
audio WhatsAppAudio [optional]
document WhatsAppDocument [optional]
sticker WhatsAppSticker [optional]
suggestions Array<RcsSuggestion> List of suggestions to include with the message [optional]
rich_card RcsRichCard [optional]
content_info RcsContentInfo [optional]

Example

require 'messente_api'

instance = MessenteApi::OmnimessageMessagesInner.new(
  sender: null,
  validity: 360,
  ttl: 21600,
  text: null,
  image_url: null,
  button_url: null,
  button_text: null,
  channel: null,
  video: null,
  autoconvert: null,
  udh: null,
  template: null,
  image: null,
  audio: null,
  document: null,
  sticker: null,
  suggestions: null,
  rich_card: null,
  content_info: null
)