OnMemberKickedCallback

Introduction

The callback of members been kicked from the group event, trigger for all group members.

Returned template

OnMemberInvitedCallback = 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 kicked members.

Code example

    V2TimGroupListener listener = V2TimGroupListener(
      onMemberKicked: (String groupID, V2TimGroupMemberInfo opUser,
          List<V2TimGroupMemberInfo> memberList) async {
      }
    );
    TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);

results matching ""

    No results matching ""