OnMemberEnterCallback
Introduction
The callback of new member enter the group event.
Returned template
OnMemberEnterCallback = void Function(
String groupID,
List<V2TimGroupMemberInfo> memberList
)
Return value details
name | type | description |
---|---|---|
groupID | String | The group ID. |
memberList | List< V2TimGroupMemberInfo > | The newly added member list. |
Code example
V2TimGroupListener listener = V2TimGroupListener(
onMemberEnter:
(String groupID, List<V2TimGroupMemberInfo> memberList) async {
}
);
TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);