OnGroupAttributeChangedCallback

Introduction

The callback of group attribute changes event.

Returned template

OnGroupAttributeChangedCallback = void Function(
String groupID,
Map<String, String> groupAttributeMap
)

Return value details

name type description
groupID String The group ID.
groupAttributeMap Map< String, String > All the attributes of the group.

Code example

    V2TimGroupListener listener = V2TimGroupListener(
      onGroupAttributeChanged:
          (String groupID, Map<String, String> groupAttributeMap) async {
      }
    );
    TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);

results matching ""

    No results matching ""