Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.88 KB

File metadata and controls

31 lines (22 loc) · 1.88 KB

ParticipantSubSchema

Properties

Name Type Description Notes
user_id str The id of the user that will be participating in the conversation. It will return `404` if the user can’t be found. One of `userId` or `userExternalId` is required, but not both. [optional]
subscribe_sdk_client bool When passed as true, the SDK client of the concerned participant will be subscribed to the conversation. The user will start receiving push notifications for this conversation right away, without having to view the conversation on the SDK beforehand. An SDK client will be created for users that don’t already have one. This field is required if the conversation is of type `sdkGroup`. [optional]
user_external_id str The `externalId` of the user that will be participating in the conversation. It will return `404` if the user can’t be found. One of `userId` or `userExternalId` is required, but not both. [optional]

Example

from sunshine_conversations_client.model.participant_sub_schema import ParticipantSubSchema

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

# convert the object into a dict
participant_sub_schema_dict = participant_sub_schema_instance.to_dict()
# create an instance of ParticipantSubSchema from a dict
participant_sub_schema_from_dict = ParticipantSubSchema.from_dict(participant_sub_schema_dict)

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