Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.67 KB

File metadata and controls

35 lines (28 loc) · 1.67 KB

StatusCallback

Represents a status callback for an outbound MT SMS or MMS or RBM message.

Properties

Name Type Description Notes
time string [default to undefined]
eventTime string Represents the time at which the message was read, for `message-read` callbacks. [optional] [default to undefined]
type StatusCallbackTypeEnum [default to undefined]
to string The destination phone number the message was sent to. For status callbacks, this the the Bandwidth user's client phone number. [default to undefined]
description string A detailed description of the event described by the callback. [default to undefined]
message StatusCallbackMessage [default to undefined]
errorCode number Optional error code, applicable only when type is `message-failed`. [optional] [default to undefined]
carrierName string The name of the Authorized Message Provider (AMP) that handled this message. In the US, this is the carrier that the message was sent to. This field is present only when this account feature has been enabled. [optional] [default to undefined]

Example

import { StatusCallback } from 'bandwidth-sdk';

const instance: StatusCallback = {
    time,
    eventTime,
    type,
    to,
    description,
    message,
    errorCode,
    carrierName,
};

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