Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.26 KB

MessageCallback.md

File metadata and controls

35 lines (26 loc) · 1.26 KB

MessageCallback

Message Callback Schema

Properties

Name Type Description Notes
time datetime
type CallbackTypeEnum
to str
description str A detailed description of the event described by the callback.
message MessageCallbackMessage
error_code int Optional error code, applicable only when type is `message-failed`. [optional]

Example

from bandwidth.models.message_callback import MessageCallback

# TODO update the JSON string below
json = "{}"
# create an instance of MessageCallback from a JSON string
message_callback_instance = MessageCallback.from_json(json)
# print the JSON string representation of the object
print(MessageCallback.to_json())

# convert the object into a dict
message_callback_dict = message_callback_instance.to_dict()
# create an instance of MessageCallback from a dict
message_callback_from_dict = MessageCallback.from_dict(message_callback_dict)

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