getMessageExtensions method

  1. @override
Future<V2TimValueCallback<List<V2TimMessageExtension>>> getMessageExtensions({
  1. required String msgID,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimMessageExtension>>> getMessageExtensions({
  required String msgID,
}) async {
  Map<String, dynamic> param = {
    "msgID": msgID,
  };
  var resp = V2TimValueCallback<List<V2TimMessageExtension>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getMessageExtensions",
        buildMessageMangerParam(
          param,
        ),
      ),
    ),
  );
  log("getMessageExtensions", param, resp.toLogString());
  return resp;
}