Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 2.23 KB

File metadata and controls

39 lines (30 loc) · 2.23 KB

Client

Properties

Name Type Description Notes
id str The unique ID of the client. [optional]
type ClientType [optional]
status str The client status. Indicates if the client is able to receive messages or not. Can be pending, inactive, active, or blocked. [optional]
integration_id str The ID of the integration that the client was created for. Unused for clients of type sdk, as they incorporate multiple integrations. [optional]
external_id str The ID of the user on an external channel. For example, the user’s phone number for Twilio, or their page-scoped user ID for Facebook Messenger. Applies only to non-SDK clients. [optional]
last_seen str A datetime string with the format `YYYY-MM-DDThh:mm:ss.SSSZ` representing the last time the user interacted with this client. [optional]
linked_at str A timestamp signifying when the client was added to the user. Formatted as `YYYY-MM-DDThh:mm:ss.SSSZ`. [optional]
display_name str The user's display name on the channel. [optional]
avatar_url str The URL for the user's avatar on the channel. [optional]
info object A flat curated object with properties that vary for each client platform. All keys are optional and not guaranteed to be available. [optional]
raw object An object with raw properties that vary for each client platform. All keys are optional and not guaranteed to be available. [optional]

Example

from sunshine_conversations_client.model.client import Client

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

# convert the object into a dict
client_dict = client_instance.to_dict()
# create an instance of Client from a dict
client_from_dict = Client.from_dict(client_dict)

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