SharedChatDetail
Properties
Name |
Type |
Description |
Notes |
|---|---|---|---|
name |
str |
Name of the shared chat. |
[optional] |
shared_at |
str |
When the chat was shared. |
[optional] |
shared_by |
str |
Username of the person who shared the chat. |
[optional] |
is_frozen |
bool |
Whether the shared chat is a frozen snapshot. |
|
is_private |
bool |
Whether the shared chat requires authentication. |
|
includes_artifacts |
bool |
Whether file artifacts are included. |
|
messages |
List[object] |
Chat messages in the shared chat. |
Example
from h2ogpte.rest_async.models.shared_chat_detail import SharedChatDetail
# TODO update the JSON string below
json = "{}"
# create an instance of SharedChatDetail from a JSON string
shared_chat_detail_instance = SharedChatDetail.from_json(json)
# print the JSON string representation of the object
print(SharedChatDetail.to_json())
# convert the object into a dict
shared_chat_detail_dict = shared_chat_detail_instance.to_dict()
# create an instance of SharedChatDetail from a dict
shared_chat_detail_from_dict = SharedChatDetail.from_dict(shared_chat_detail_dict)