The data returned in a multichannel message response.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The ID of the message. | [default to undefined] |
| time | string | The time the message was received by the Bandwidth API. | [default to undefined] |
| direction | MessageDirectionEnum | [default to undefined] | |
| to | Set<string> | The destination phone number(s) of the message, in E164 format. | [default to undefined] |
| channelList | Array<MultiChannelChannelListResponseObject> | 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] |
import { MultiChannelMessageResponseData } from 'bandwidth-sdk';
const instance: MultiChannelMessageResponseData = {
id,
time,
direction,
to,
channelList,
tag,
priority,
expiration,
};