Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.8 KB

File metadata and controls

34 lines (25 loc) · 1.8 KB

MultiChannelMessageRequest

Multi-Channel Message Request

Properties

Name Type Description Notes
to str The phone number the message should be sent to in E164 format.
channel_list List[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 str A custom string that will be included in callback events of the message. Max 1024 characters. [optional]
priority PriorityEnum [optional]
expiration datetime 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

from bandwidth.models.multi_channel_message_request import MultiChannelMessageRequest

# TODO update the JSON string below
json = "{}"
# create an instance of MultiChannelMessageRequest from a JSON string
multi_channel_message_request_instance = MultiChannelMessageRequest.from_json(json)
# print the JSON string representation of the object
print(MultiChannelMessageRequest.to_json())

# convert the object into a dict
multi_channel_message_request_dict = multi_channel_message_request_instance.to_dict()
# create an instance of MultiChannelMessageRequest from a dict
multi_channel_message_request_from_dict = MultiChannelMessageRequest.from_dict(multi_channel_message_request_dict)

[Back to Model list] [Back to API list] [Back to README]