OnGrantAdministratorCallback
Introduction
The callback of grant an group member as admin event.
Returned template
OnGrantAdministratorCallback = void Function(
String groupID,
V2TimGroupMemberInfo opUser,
List<V2TimGroupMemberInfo> memberList
)
Return value details
name | type | description |
---|---|---|
groupID | String | The group ID. |
opUser | V2TimGroupMemberInfo | The handler. |
memberList | List< V2TimGroupMemberInfo > | The group members been granted. |
Code example
V2TimGroupListener listener = V2TimGroupListener(
onGrantAdministrator: (String groupID, V2TimGroupMemberInfo opUser,
List<V2TimGroupMemberInfo> memberList) async {
}
);
TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);