Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.43 KB

File metadata and controls

29 lines (22 loc) · 1.43 KB

MultiChannelMessageRequest

Multi-Channel Message Request

Properties

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

Example

import { MultiChannelMessageRequest } from 'bandwidth-sdk';

const instance: MultiChannelMessageRequest = {
    to,
    channelList,
    tag,
    priority,
    expiration,
};

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