Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 2.4 KB

File metadata and controls

50 lines (43 loc) · 2.4 KB

InboundCallbackMessage

Properties

Name Type Description Notes
id string A unique identifier of the message. [default to undefined]
owner string The Bandwidth phone number or alphanumeric identifier associated with the message. [default to undefined]
applicationId string The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. [default to undefined]
time string [default to undefined]
segmentCount number The number of segments the user's message is broken into before sending over carrier networks. [default to undefined]
direction MessageDirectionEnum [default to undefined]
to Set<string> The phone number recipients of the message. [default to undefined]
from string The Bandwidth phone number or alphanumeric identifier the message was sent from. [default to undefined]
text string [optional] [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]
media Array<string> Optional media, not applicable for sms [optional] [default to undefined]
priority PriorityEnum [optional] [default to undefined]
channel MultiChannelMessageChannelEnum [optional] [default to undefined]
content MultiChannelMessageContent [optional] [default to undefined]
suggestionResponse RbmSuggestionResponse [optional] [default to undefined]
locationResponse RbmLocationResponse [optional] [default to undefined]

Example

import { InboundCallbackMessage } from 'bandwidth-sdk';

const instance: InboundCallbackMessage = {
    id,
    owner,
    applicationId,
    time,
    segmentCount,
    direction,
    to,
    from,
    text,
    tag,
    media,
    priority,
    channel,
    content,
    suggestionResponse,
    locationResponse,
};

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