appendMessage method

  1. @override
Future<V2TimValueCallback<V2TimMessage>> appendMessage({
  1. required String createMessageBaseId,
  2. required String createMessageAppendId,
})
override

Implementation

@override
Future<V2TimValueCallback<V2TimMessage>> appendMessage({
  required String createMessageBaseId,
  required String createMessageAppendId,
}) async {
  Map<String, dynamic> param = {
    "createMessageBaseId": createMessageBaseId,
    "createMessageAppendId": createMessageAppendId,
  };
  var resp = V2TimValueCallback<V2TimMessage>.fromJson(formatJson(await _channel.invokeMethod('appendMessage', buildMessageMangerParam(param))));
  log("appendMessage", param, resp.toLogString());
  return resp;
}