OnRevokeAdministratorCallback
Introduction
The callback of revoke the group administrators event.
Returned template
OnRevokeAdministratorCallback = void Function(
String groupID,
V2TimGroupMemberInfo opUser,
List<V2TimGroupMemberInfo> memberList
)
Return value details
name | type | description |
---|---|---|
groupID | String | The group ID. |
opUser | V2TimGroupMemberInfo | The operator. |
memberList | List< V2TimGroupMemberInfo > | The group members. |
Code example
V2TimGroupListener listener = V2TimGroupListener(
onRevokeAdministrator: (String groupID, V2TimGroupMemberInfo opUser,
List<V2TimGroupMemberInfo> memberList) async {
}
);
TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);