Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 802 Bytes

MessageCallback.md

File metadata and controls

28 lines (22 loc) · 802 Bytes

Bandwidth::MessageCallback

Properties

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]

Example

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
)