setTopicInfo method

  1. @override
Future<V2TimCallback> setTopicInfo({
  1. required String groupID,
  2. required V2TimTopicInfo topicInfo,
})
override

Implementation

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