OnTopicCreated
Introduction
The callback of a topic created event.
Returned template
OnTopicCreated = void Function(String groupID, String topicID);
Return value details
name | type | description |
---|---|---|
groupID | String | The ID of the group that the created topic belongs. |
topicID | String | The ID of the created topic. |
Code example
V2TimGroupListener listener = V2TimGroupListener(
onTopicCreated: (String groupID, String topicID) async {
});
TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);