OnTopicInfoChanged
Introduction
The callback of the updating of topic info event.
Returned template
OnTopicInfoChanged = void Function(
String groupID, V2TimTopicInfo topicInfo);
Return value details
| name | type | description |
|---|---|---|
| groupID | String | The ID of the group that the updated topic belongs. |
| topicInfo | V2TimTopicInfo | The latest topic info. |
Code example
V2TimGroupListener listener = V2TimGroupListener(
onTopicInfoChanged: (String groupID, V2TimTopicInfo topicInfo) async {
});
TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);