Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 905 Bytes

File metadata and controls

28 lines (22 loc) · 905 Bytes

Bandwidth::RbmActionViewLocation

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.
latitude Float The latitude of the location. Must be in range [-90.000000, 90.000000].
longitude Float The longitude of the location. Must be in range [-180.000000, 180.000000].
label String The label of the location. [optional]

Example

require 'bandwidth-sdk'

instance = Bandwidth::RbmActionViewLocation.new(
  type: null,
  text: Hello world,
  postback_data: U0dWc2JHOGdkMjl5YkdRPQ==,
  latitude: 37.7749,
  longitude: -122.4194,
  label: San Francisco
)