Bandwidth::MultiChannelAction
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]
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 -14 T18 :20 :16 Z ,
end_time : 2022 -09 -14 T18 :20 :16 Z ,
description : Discuss the new project ,
url : https ://dev . bandwidth . com ,
application : null ,
webview_view_mode : null
)