OnMemberLeaveCallback

Introduction

The callback of member leave the group voluntarily event, trigger for all group members.

Returned template

OnMemberLeaveCallback = void Function(
String groupID,
V2TimGroupMemberInfo member
)

Return value details

name type description
groupID String The group ID.
member V2TimGroupMemberInfo The left member.

Code example

    V2TimGroupListener listener = V2TimGroupListener(
      onMemberLeave: (String groupID, V2TimGroupMemberInfo member) async {
      }
    );
    TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);

results matching ""

    No results matching ""