createTopicInCommunity method
Future<V2TimValueCallback<String> >
createTopicInCommunity({
- required String groupID,
- required V2TimTopicInfo topicInfo,
override
Implementation
@override
Future<V2TimValueCallback<String>> createTopicInCommunity({
required String groupID,
required V2TimTopicInfo topicInfo,
}) async {
Map<String, dynamic> param = {"groupID": groupID, "topicInfo": topicInfo.toJson()};
var resp = V2TimValueCallback<String>.fromJson(formatJson(await _channel.invokeMethod('createTopicInCommunity', buildGroupManagerParam(param))));
log("createTopicInCommunity", param, resp.toLogString());
return resp;
}