Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 1.59 KB

File metadata and controls

44 lines (38 loc) · 1.59 KB

Bandwidth::MultiChannelAction

Properties

Name Type Description Notes
type RbmActionTypeEnum
text String Displayed text for user to click
postback_data String Base64 payload the customer receives when the reply is clicked.
phone_number String The phone number to dial. Must be E164 format.
latitude Float The latitude of the location.
longitude Float The longitude of the location.
label String The label of the location. [optional]
title String The title of the event.
start_time Time The start time of the event.
end_time Time The end time of the event.
description String The description of the event. [optional]
url String The URL to open in browser.
application RbmOpenUrlEnum [optional]
webview_view_mode RbmWebViewEnum [optional]

Example

require 'bandwidth-sdk'

instance = Bandwidth::MultiChannelAction.new(
  type: null,
  text: Hello world,
  postback_data: U0dWc2JHOGdkMjl5YkdRPQ==,
  phone_number: +15552223333,
  latitude: 37.7749,
  longitude: -122.4194,
  label: San Francisco,
  title: Meeting with John,
  start_time: 2022-09-14T18:20:16Z,
  end_time: 2022-09-14T18:20:16Z,
  description: Discuss the new project,
  url: https://dev.bandwidth.com,
  application: null,
  webview_view_mode: null
)