getMessageOnlineUrl method

  1. @override
Future<V2TimValueCallback<V2TimMessageOnlineUrl>> getMessageOnlineUrl({
  1. required String msgID,
})
override

下载多媒体消息到应用目录

Implementation

@override
Future<V2TimValueCallback<V2TimMessageOnlineUrl>> getMessageOnlineUrl({
  required String msgID,
}) async {
  return V2TimValueCallback<V2TimMessageOnlineUrl>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getMessageOnlineUrl",
        buildMessageMangerParam(
          {
            "msgID": msgID,
          },
        ),
      ),
    ),
  );
}