Name | Type | Description | Notes |
---|---|---|---|
time | Time | ||
type | CallbackTypeEnum | ||
to | String | ||
description | String | A detailed description of the event described by the callback. | |
message | MessageCallbackMessage | ||
error_code | Integer | Optional error code, applicable only when type is `message-failed`. | [optional] |
require 'bandwidth-sdk'
instance = Bandwidth::MessageCallback.new(
time: 2024-12-02T20:15:57.278Z,
type: null,
to: +15552223333,
description: rejected-unallocated-from-number,
message: null,
error_code: 4405
)