/* tslint:disable */ /* eslint-disable */ /** * Bandwidth * Bandwidth\'s Communication APIs * * The version of the OpenAPI document: 1.0.0 * Contact: letstalk@bandwidth.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { MessageDirectionEnum } from './message-direction-enum'; // May contain unused imports in some cases // @ts-ignore import type { MultiChannelMessageChannelEnum } from './multi-channel-message-channel-enum'; // May contain unused imports in some cases // @ts-ignore import type { MultiChannelMessageContent } from './multi-channel-message-content'; // May contain unused imports in some cases // @ts-ignore import type { PriorityEnum } from './priority-enum'; // May contain unused imports in some cases // @ts-ignore import type { RbmLocationResponse } from './rbm-location-response'; // May contain unused imports in some cases // @ts-ignore import type { RbmSuggestionResponse } from './rbm-suggestion-response'; // May contain unused imports in some cases // @ts-ignore import type { StatusCallbackMessage } from './status-callback-message'; /** * @type InboundCallbackMessage */ export interface InboundCallbackMessage { /** * A unique identifier of the message. */ 'id': string; /** * The Bandwidth phone number or alphanumeric identifier associated with the message. */ 'owner': string; /** * The ID of the Application your from number or senderId is associated with in the Bandwidth App. */ 'applicationId': string; 'time': string; /** * The number of segments the user\'s message is broken into before sending over carrier networks. */ 'segmentCount': number; 'direction': MessageDirectionEnum; /** * The phone number recipients of the message. */ 'to': Set; /** * The Bandwidth phone number or alphanumeric identifier the message was sent from. */ 'from': string; 'text'?: string; /** * A custom string that will be included in callback events of the message. Max 1024 characters. */ 'tag'?: string; /** * Optional media, not applicable for sms */ 'media'?: Array; 'priority'?: PriorityEnum; 'channel'?: MultiChannelMessageChannelEnum; 'content'?: MultiChannelMessageContent; 'suggestionResponse'?: RbmSuggestionResponse; 'locationResponse'?: RbmLocationResponse; }