Notification
Update type - notification. Contains the workspace ID, creation time, and one populated field depending on the notification kind
ID of the workspace the notification relates to
AIQffAsGi8Notification creation time
2024-02-26T18:58:36.154+03:00memberJoinedEvent object
Notification that a new member has joined the workspace
Membership ID of the member who joined
ADK5NyCqIKmemberInvitedEvent object
Notification that a new member has been invited to the workspace
Membership ID of the invited member
ADK5NyCqIKmemberLeftEvent object
Notification that a member has left the workspace
Membership ID of the member who left the workspace
ADK5NyCqIKmemberChangedRoleEvent object
Notification that a member's role in the workspace has changed
Membership ID of the member with the new role
ADK5NyCqIKMember's new role
Possible values: [MEMBER, ADMIN, OWNER, GUEST, GUEST_CALLER]
ADMINchatCreatedEvent object
Notification that a new chat has been created in the workspace
ID of the created chat
w:AIQffAsGi8metadata objectrequired
Contains chat-type-specific information. One of the fields is populated depending on the chat type
personal object
Contains information about the personal chat
MembershipId of the other party
aIQffAsGiaworkspace object
Information about the workspace chat
Chat name
NewsWhether the chat is an announcement chat
trueChat type
Possible values: [PRIVATE, PUBLIC, GENERAL]
PUBLICWhether new workspace members are automatically added to the chat
trueChat description
Company newsNumber of members
5thread object
Thread information
ChatId of the parent chat where the parent message is located
w:aIQffAsGiaMessageId of the parent message the thread belongs to
bIQffAsGiaconference object
Conference chat information
Identifier of the conference the chat relates to
dIQffAsGiauserEvents object
Information about the chat with personal notifications
MembershipId of the owner
aIQffAsGiareactionToggledEvent object
Notification that a reaction to a message has been added/removed
ID of the chat containing the message with the reaction
w:AIQffAsGi8Message ID of the message with the reaction
bIQffAsGiaEmoji in the form :+1:
:heart:Membership ID of the member who added or removed the reaction
ADK5NyCqIKIf true, the reaction was added; otherwise it was removed
truemessageEditedEvent object
Notification that a message has been edited
ID of the chat containing the edited message
w:AIQffAsGi8Message ID of the edited message
bIQffAsGiamessageDeletedEvent object
Notification that a message has been deleted
ID of the chat that contained the deleted message
w:AIQffAsGi8Message ID of the deleted message
bIQffAsGiachatMemberJoinedEvent object
Notification of a new member in the chat
ID of the chat where the new member appeared
w:AIQffAsGi8Membership ID of the new chat member
ADK5NyCqIKchatMemberLeftEvent object
Notification that a member has left the chat
ID of the chat the member left
w:AIQffAsGi8Membership ID of the member who left the chat
ADK5NyCqIKchatMemberInvitedEvent object
Notification that a new member has been invited to the chat
ID of the chat the new member was invited to
w:AIQffAsGi8Membership ID of the invited member
ADK5NyCqIKMembership ID of the inviting member
ADK5NyCqIKchatMemberChangedRoleEvent object
Notification that a member's role in the chat has changed
ID of the chat that contained the deleted message
w:AIQffAsGi8Membership ID of the new chat member
ADK5NyCqIKMember's new role
Possible values: [MEMBER, ADMIN, OWNER]
ADMINchatArchivedEvent object
Notification that the chat has been archived
ID of the chat that was archived
w:AIQffAsGi8chatUnarchivedEvent object
Notification that the chat has been unarchived
ID of the chat that was unarchived
w:AIQffAsGi8pollVotedEvent object
Notification that poll votes have been updated
ID of the chat containing the poll
w:AIQffAsGi8Message ID of the poll message
bIQffAsGiaPoll ID
AIQffAsGi8summary objectrequired
Summary of the poll results
votes object[]required
Array of vote counts per answer option
Index of the answer option (starting from 0)
0Number of votes for this option
15Total number of voters
42Array of membershipId values of the first members who voted
Indices of the options the current user voted for
{
"workspaceId": "AIQffAsGi8",
"timestamp": "2024-02-26T18:58:36.154+03:00",
"memberJoinedEvent": {
"memberId": "ADK5NyCqIK"
},
"memberInvitedEvent": {
"memberId": "ADK5NyCqIK"
},
"memberLeftEvent": {
"memberId": "ADK5NyCqIK"
},
"memberChangedRoleEvent": {
"memberId": "ADK5NyCqIK",
"newRole": "ADMIN"
},
"chatCreatedEvent": {
"chatId": "w:AIQffAsGi8",
"metadata": {
"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"
}
}
},
"reactionToggledEvent": {
"chatId": "w:AIQffAsGi8",
"messageId": "bIQffAsGia",
"emoji": ":heart:",
"reactedBy": "ADK5NyCqIK",
"wasSet": "true"
},
"messageEditedEvent": {
"chatId": "w:AIQffAsGi8",
"messageId": "bIQffAsGia"
},
"messageDeletedEvent": {
"chatId": "w:AIQffAsGi8",
"messageId": "bIQffAsGia"
},
"chatMemberJoinedEvent": {
"chatId": "w:AIQffAsGi8",
"memberId": "ADK5NyCqIK"
},
"chatMemberLeftEvent": {
"chatId": "w:AIQffAsGi8",
"memberId": "ADK5NyCqIK"
},
"chatMemberInvitedEvent": {
"chatId": "w:AIQffAsGi8",
"memberId": "ADK5NyCqIK",
"inviterMemberId": "ADK5NyCqIK"
},
"chatMemberChangedRoleEvent": {
"chatId": "w:AIQffAsGi8",
"memberId": "ADK5NyCqIK",
"newRole": "ADMIN"
},
"chatArchivedEvent": {
"chatId": "w:AIQffAsGi8"
},
"chatUnarchivedEvent": {
"chatId": "w:AIQffAsGi8"
},
"pollVotedEvent": {
"chatId": "w:AIQffAsGi8",
"messageId": "bIQffAsGia",
"pollId": "AIQffAsGi8",
"summary": {
"votes": [
{
"option": 0,
"votesCount": 15
}
],
"totalVoters": 42,
"firstVotedMemberIds": [
"string"
]
},
"myVote": [
0
]
}
}