Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.37 KB

File metadata and controls

41 lines (32 loc) · 1.37 KB

Message

Properties

Name Type Description Notes
id int [optional]
ticket_id int [optional]
channel_id int [optional]
user_id int [optional]
user_ip_address str [optional]
by int Author type: 0 = operator, 1 = user (customer) [optional]
type int Message type: 0 = message, 1 = internal note [optional]
text str [optional]
is_draft int [optional]
social_id str [optional]
created_at int [optional]
updated_at int [optional]
user UserSummary [optional]

Example

from supportpal_client.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]