Represents an inbound callback.
| Name | Type | Description | Notes |
|---|---|---|---|
| time | string | [default to undefined] | |
| type | InboundCallbackTypeEnum | [default to undefined] | |
| to | string | The destination phone number the message was sent to. For inbound callbacks, this is the Bandwidth number or alphanumeric identifier that received the message. | [default to undefined] |
| description | string | A detailed description of the event described by the callback. | [default to undefined] |
| message | InboundCallbackMessage | [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] |
import { InboundCallback } from 'bandwidth-sdk';
const instance: InboundCallback = {
time,
type,
to,
description,
message,
carrierName,
};