ChatGroupEventHandler constructor
- {void onAdminAddedFromGroup( )?,
- void onAdminRemovedFromGroup( )?,
- void onAllGroupMemberMuteStateChanged( )?,
- void onAllowListAddedFromGroup( )?,
- void onAllowListRemovedFromGroup( )?,
- void onAnnouncementChangedFromGroup( )?,
- void onAutoAcceptInvitationFromGroup( )?,
- void onGroupDestroyed( )?,
- void onInvitationAcceptedFromGroup( )?,
- void onInvitationDeclinedFromGroup( )?,
- void onInvitationReceivedFromGroup( )?,
- void onMemberExitedFromGroup( )?,
- void onMemberJoinedFromGroup( )?,
- void onMuteListAddedFromGroup( )?,
- void onMuteListRemovedFromGroup( )?,
- void onOwnerChangedFromGroup( )?,
- void onRequestToJoinAcceptedFromGroup( )?,
- void onRequestToJoinDeclinedFromGroup( )?,
- void onRequestToJoinReceivedFromGroup( )?,
- void onUserRemovedFromGroup( )?,
- void onSpecificationDidUpdate(
- ChatGroup group
- void onDisableChanged( )?,
- void onAttributesChangedOfGroupMember( )?}
The group manager listener callback.
Param onAdminAddedFromGroup A member is set as an admin.
Param onAdminRemovedFromGroup A member's admin privileges are removed.
Param onAllGroupMemberMuteStateChanged All group members are muted or unmuted.
Param onAllowListAddedFromGroup One or more group members are muted.
Param onAllowListRemovedFromGroup One or more group members are unmuted.
Param onAnnouncementChangedFromGroup The announcement is updated.
Param onAutoAcceptInvitationFromGroup The group invitation is accepted automatically.
Param onGroupDestroyed A group is destroyed.
Param onInvitationAcceptedFromGroup A group invitation is accepted.
Param onInvitationDeclinedFromGroup A group invitation is declined.
Param onInvitationReceivedFromGroup The user receives a group invitation.
Param onMemberExitedFromGroup A member proactively leaves the group.
Param onMemberJoinedFromGroup A user joins a group.
Param onMuteListAddedFromGroup One or more group members are muted.
Param onMuteListRemovedFromGroup One or more group members are unmuted.
Param onOwnerChangedFromGroup The group ownership is transferred.
Param onRequestToJoinAcceptedFromGroup A group request is accepted.
Param onRequestToJoinDeclinedFromGroup A group request is declined.
Param onRequestToJoinReceivedFromGroup The group owner or administrator receives a group request from a user.
Param onSharedFileAddedFromGroup A shared file is added to a group.
Param onSharedFileDeletedFromGroup A shared file is removed from a group.
Param onUserRemovedFromGroup Current user is removed from the group by the group admin.
Param onSpecificationDidUpdate The group detail information is updated.
Param onDisableChanged Te group is enabled or disabled.
Param onAttributesChangedOfGroupMember A custom attribute(s) of a group member is/are changed.
Implementation
ChatGroupEventHandler({
this.onAdminAddedFromGroup,
this.onAdminRemovedFromGroup,
this.onAllGroupMemberMuteStateChanged,
this.onAllowListAddedFromGroup,
this.onAllowListRemovedFromGroup,
this.onAnnouncementChangedFromGroup,
this.onAutoAcceptInvitationFromGroup,
this.onGroupDestroyed,
this.onInvitationAcceptedFromGroup,
this.onInvitationDeclinedFromGroup,
this.onInvitationReceivedFromGroup,
this.onMemberExitedFromGroup,
this.onMemberJoinedFromGroup,
this.onMuteListAddedFromGroup,
this.onMuteListRemovedFromGroup,
this.onOwnerChangedFromGroup,
this.onRequestToJoinAcceptedFromGroup,
this.onRequestToJoinDeclinedFromGroup,
this.onRequestToJoinReceivedFromGroup,
this.onSharedFileAddedFromGroup,
this.onSharedFileDeletedFromGroup,
this.onUserRemovedFromGroup,
this.onSpecificationDidUpdate,
this.onDisableChanged,
this.onAttributesChangedOfGroupMember,
});