OnTopicDeleted
Introduction
The callback of the delete topic event.
Returned template
OnTopicDeleted = void Function(
String groupID, List<String> topicIDList);
Return value details
name | type | description |
---|---|---|
groupID | String | The ID of the group that the deleted topic belongs. |
topicIDList | List< String > | The list of topics IDs been deleted. |
Code example
V2TimGroupListener listener = V2TimGroupListener(
onTopicDeleted: (String groupID, List<String> topicIDList) async {
});
TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);