Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.16 KB

File metadata and controls

26 lines (20 loc) · 1.16 KB

Bandwidth::MultiChannelMessageRequest

Properties

Name Type Description Notes
to String The phone number the message should be sent to in E164 format.
channel_list Array<MultiChannelChannelListRequestObject> A list of message bodies. The messages will be attempted in the order they are listed. Once a message sends successfully, the others will be ignored.
tag String A custom string that will be included in callback events of the message. Max 1024 characters. [optional]
priority PriorityEnum [optional]
expiration Time A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future. [optional]

Example

require 'bandwidth-sdk'

instance = Bandwidth::MultiChannelMessageRequest.new(
  to: +15552223333,
  channel_list: null,
  tag: custom string,
  priority: null,
  expiration: 2021-02-01T11:29:18-05:00
)