ChatMetadata
Contains chat-type-specific information. One of the fields is populated depending on the chat type
personal object
Contains information about the personal chat
otherMembershipIdstringrequired
MembershipId of the other party
Example:
aIQffAsGiaworkspace object
Information about the workspace chat
namestringrequired
Chat name
Example:
Newsannouncebooleanrequired
Whether the chat is an announcement chat
Example:
truechatTypeWorkspaceChatType (string)required
Chat type
Possible values: [PRIVATE, PUBLIC, GENERAL]
Example:
PUBLICautoJoinNewMembersbooleanrequired
Whether new workspace members are automatically added to the chat
Example:
truedescriptionstring
Chat description
Example:
Company newsmemberCountintegerrequired
Number of members
Example:
5thread object
Thread information
parentChatIdstringrequired
ChatId of the parent chat where the parent message is located
Example:
w:aIQffAsGiaparentMessageIdstringrequired
MessageId of the parent message the thread belongs to
Example:
bIQffAsGiaconference object
Conference chat information
conferenceIdstringrequired
Identifier of the conference the chat relates to
Example:
dIQffAsGiauserEvents object
Information about the chat with personal notifications
ownerstringrequired
MembershipId of the owner
Example:
aIQffAsGiaChatMetadata
{
"personal": {
"otherMembershipId": "aIQffAsGia"
},
"workspace": {
"name": "News",
"announce": "true",
"chatType": "PUBLIC",
"autoJoinNewMembers": "true",
"description": "Company news",
"memberCount": "5"
},
"thread": {
"parentChatId": "w:aIQffAsGia",
"parentMessageId": "bIQffAsGia"
},
"conference": {
"conferenceId": "dIQffAsGia"
},
"userEvents": {
"owner": "aIQffAsGia"
}
}