setConversationCustomData method

  1. @override
Future<V2TimValueCallback<List<V2TimConversationOperationResult>>> setConversationCustomData({
  1. required String customData,
  2. required List<String> conversationIDList,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimConversationOperationResult>>> setConversationCustomData({
  required String customData,
  required List<String> conversationIDList,
}) async {
  Map<String, dynamic> param = {
    "customData": customData,
    "conversationIDList": conversationIDList,
  };
  var resp = V2TimValueCallback<List<V2TimConversationOperationResult>>.fromJson(formatJson(await _channel.invokeMethod(
    'setConversationCustomData',
    buildConversationManagerParam(
      param,
    ),
  )));
  log("setConversationCustomData", param, resp.toLogString());
  return resp;
}