Optional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOccurs when the group invitation is accepted automatically by the current user.
For example, after user B invites user A to join the group, as user A sets ChatOptions.autoAcceptGroupInvitation to true
, the invitee joins the group automatically and receives this callback.
Optional
inviteOptional
onOptional
onOccurs when the chat group detail change. All chat group members receive this event.
The chat group.
Optional
onOccurs when a group invitation from the current user is accepted by the peer user.
For example, after user B accepts a group invitation from user A, user A receives this callback.
Optional
reason?: stringOptional
onOccurs when a group invitation from the current user is declined by the peer user.
For example, after user B declines a group invitation from user A, user A receives this callback.
Optional
reason?: stringOptional
onOccurs when the current user receives a group invitation.
For example, after user B sends user A a group invitation, user A receives this callback.
Optional
reason?: stringOptional
onOptional
onOptional
onOptional
onOptional
onOccurs when one or more members are added to the mute list of the group.
A user, when muted, can still see group messages, but cannot send messages in the group. However, a user on the block list can neither see nor send group messages.
Optional
muteOptional
onOptional
onOptional
onOccurs when a join request from the current user is accepted by the peer user.
For a group of the PublicJoinNeedApproval
style, after user B accepts a join request from user A, user A receives this callback.
Optional
groupOptional
onOccurs when a join request from the current user is declined by the peer user.
For example, for a group of the PublicJoinNeedApproval
style, after user B declines a join request from user A, user A receives this callback.
Optional
applicant?: stringOptional
groupOptional
reason?: stringOptional
onOccurs when a join request from the current user is received by the peer user.
For example, after user A sends a join request to user B, user B receives this callback.
Optional
groupOptional
reason?: stringOptional
onOptional
onOptional
onOccurs when the disabled state of group changes.
The chat group.
The group event listener.
For descriptions of callback methods in the listener, user A acts as the current user and user B serves as the peer user.