Superteam notifications

Update time: 2024/03/14 18:45:33

For operations in a superteam channel, all team members will receive notifications. The notification object has a field attach that contains additional information. The attach has a field type to identify the type of notifications.

Types of notifications

Type
Description
Field
updateSuperTeam After a superteam channel is updated, all members receive a notification of type updateSuperTeam.
  • from: account updating the superteam channel.
  • to: superteam channel Id
  • attach
    • team: superteam channel
addSuperTeamMembers If you invite users to join a superteam channel, all members in the superteam channel receive a notification of type addSuperTeamMembers.
  • from: account inviting users to join the superteam channel.
  • to: ID of the superteam channel
  • attach:
    • team: superteam channel
    • accounts: accounts invited
    • members: list of invited members.
removeSuperTeamMembers Remove a team member, all members will receive a notification of type removeSuperTeamMembers
    < li>from: the account removing a member
  • to: the ID of the superteam channel
  • attach:
    • team: the superteam channel
    • accounts: list of removed members
leaveSuperTeam If you leave a superteam channel, all members will receive a notification of type leaveSuperTeam.
  • from: account leaving the superteam channel.
  • to: ID of the superteam channel
  • attach:
    • team: superteam channel.
transferSuperTeam If you transfer the ownership of a superteam channel, all members will receive a notification of type transferSuperTeam.
  • from : account transferring the ownership of the superteam channel
  • to: ID of the superteam
  • attach:
    • team : superteam channel
    • account : new owner of the team channel
    • members: list of members including the new and original owner.
addSuperTeamManagers If you add an administrator, all members will receive a notification of type addSuperTeamManagers.
  • from: account adding an administrator.
  • to: ID of the superteam channel
  • attach
    • accounts: list of administrators
    • members: list of administrators
removeSuperTeamManagers If you remove an administrator, all members in the superteam channel will receive a notification of type removeSuperTeamManagers.
  • from: account removing administrator
  • to: ID of a superteam channel
  • attach
    • accounts: removed administrators
    • members: detailed information about removed administrators.
updateSuperTeamMembersMute If you update the mute state of a member, all members will receive a notification of type updateSuperTeamMembersMute.
  • from: account muting or unmuting a member.
  • to : ID of the superteam channel
  • attach:
    • team: the superteam channel.
    • account: muted account.
    • membersList of muted accounts.
passSuperTeamApply After receiving a request, the owner and administrators of the superteam channel can choose to approve or reject the request. If your request is approved, all members will receive a notification of type passSuperTeamApply.
  • from : account whose request is approved.
  • to: ID of the superteam channel
  • attach:
    • team: the superteam channel
    • account: account sending the request
    • members: list of members whose requests are approved.
superTeamInvite If the owner and administrators of a superteam channel invite users to join the channel, the invited user will receive a system notification(For information about fields, see System notifications for superteam channel events) of type superTeamInvite
  • from: account sending the invitation
  • to: ID of the superteam channel.
  • attach:
    • team: the superteam channel.
acceptSuperTeamInvite The invited user can accept or reject the invitation.
  • If you accept the invitation, all member will receive a notification of type acceptSuperTeamInvite.
  • If you reject the invitation, you will receive a system notification(For information about fields, see [System notifications for superteam channel events](#System notifications for superteam channel events)) of type rejectSuperTeamInvite
  • from: account accepting or rejecting the invitation.
  • to :ID of the superteam channel
  • attach:
    • team: superteam channel.
    • members: list of members accepting the invitation.

System notifications for team events

The following types of notifications for superteam channels belongs to system notifications, not notification messages. For the difference between notification messages and system notifications, see Notifications and system notifications.

Type
Description
Field
superTeamInvite Invitation to join a super team
  • from: account inviting a user to join the superteam channel.
  • to: the team ID
rejectSuperTeamInvite Reject a request.
  • from: accounting sending invitations
  • to: team Id
  • attach:
    • team: superteam channel
applySuperTeam If you request to join a superteam channel, the owner and administrators of the superteam channel will receive a notification of type applySuperTeam.
  • from: account of the requester.
  • to :ID of the superteam channel.
rejectSuperTeamApply If you reject a request, the requester will receive a system notification of type rejectSuperTeamApply
  • from : account rejecting the request
  • to: ID of the superteam channel
  • attach:
    • team: the superteam channel.
Was this page helpful?
Yes
No
  • Types of notifications
  • System notifications for team events