| Name |
Type |
Description |
Notes |
| id |
str |
The id of the message. |
[optional] |
| owner |
str |
The Bandwidth phone number associated with the message. |
[optional] |
| application_id |
str |
The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. |
[optional] |
| time |
datetime |
The datetime stamp of the message in ISO 8601 |
[optional] |
| segment_count |
int |
The number of segments the user's message is broken into before sending over carrier networks. |
[optional] |
| direction |
MessageDirectionEnum |
|
[optional] |
| to |
List[str] |
The phone number recipients of the message. |
[optional] |
| var_from |
str |
The phone number the message was sent from. |
[optional] |
| media |
List[str] |
The list of media URLs sent in the message. Including a `filename` field in the `Content-Disposition` header of the media linked with a URL will set the displayed file name. This is a best practice to ensure that your media has a readable file name. |
[optional] |
| text |
str |
The contents of the message. |
[optional] |
| tag |
str |
A custom string that will be included in callback events of the message. Max 1024 characters. |
[optional] |
| priority |
PriorityEnum |
|
[optional] |
| expiration |
datetime |
A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future. |
[optional] |
from bandwidth.models.message import Message
# TODO update the JSON string below
json = "{}"
# create an instance of Message from a JSON string
message_instance = Message.from_json(json)
# print the JSON string representation of the object
print(Message.to_json())
# convert the object into a dict
message_dict = message_instance.to_dict()
# create an instance of Message from a dict
message_from_dict = Message.from_dict(message_dict)
[Back to Model list] [Back to API list] [Back to README]