Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2.3 KB

ListMessageItem.md

File metadata and controls

45 lines (36 loc) · 2.3 KB

ListMessageItem

Properties

Name Type Description Notes
message_id str The message id [optional]
account_id str The account id associated with this message. [optional]
source_tn str The source phone number of the message. [optional]
destination_tn str The recipient phone number of the message. [optional]
message_status MessageStatusEnum [optional]
message_direction ListMessageDirectionEnum [optional]
message_type MessageTypeEnum [optional]
segment_count int The number of segments the message was sent as. [optional]
error_code int The numeric error code of the message. [optional]
receive_time datetime The ISO 8601 datetime of the message. [optional]
carrier_name str The name of the carrier. Not currently supported for MMS coming soon. [optional]
message_size int The size of the message including message content and headers. [optional]
message_length int The length of the message content. [optional]
attachment_count int The number of attachments the message has. [optional]
recipient_count int The number of recipients the message has. [optional]
campaign_class str The campaign class of the message if it has one. [optional]
campaign_id str The campaign ID of the message if it has one. [optional]

Example

from bandwidth.models.list_message_item import ListMessageItem

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

# convert the object into a dict
list_message_item_dict = list_message_item_instance.to_dict()
# create an instance of ListMessageItem from a dict
list_message_item_from_dict = ListMessageItem.from_dict(list_message_item_dict)

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