OnGroupInfoChangedCallback
Introduction
The callback of group info changes event.
Returned template
OnGroupInfoChangedCallback = void Function(
String groupID,
List<V2TimGroupChangeInfo> changeInfos
)
Return value details
name | type | description |
---|---|---|
groupID | String | The group ID. |
changeInfos | List< V2TimGroupChangeInfo > | The list of change info. |
Code example
V2TimGroupListener listener = V2TimGroupListener(
onGroupInfoChanged:
(String groupID, List<V2TimGroupChangeInfo> changeInfos) async {
}
);
TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);