OnGroupDismissedCallback
Introduction
The callback of a joined group was disbanded event, can be triggered for all the group members.
Returned template
OnGroupDismissedCallback = void Function(
String groupID,
V2TimGroupMemberInfo opUser
)
Return value details
name | type | description |
---|---|---|
groupID | String | The group ID. |
opUser | V2TimGroupMemberInfo | The operator. |
Code example
V2TimGroupListener listener = V2TimGroupListener(
onGroupDismissed: (String groupID, V2TimGroupMemberInfo opUser) async {
}
);
TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);