OnMemberInvitedCallback

Introduction

The callback of new members been invited to 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 newly invited members.

Code example

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

results matching ""

    No results matching ""