downloadMessage method

Future<V2TimCallback> downloadMessage({
  1. required String msgID,
  2. required int messageType,
  3. required int imageType,
  4. required bool isSnapshot,
})

下载多媒体消息

Implementation

Future<V2TimCallback> downloadMessage({
  required String msgID,
  required int messageType,
  required int imageType, // 图片类型,仅messageType为图片消息是有效
  required bool isSnapshot, // 是否是视频封面,仅messageType为视频消息是有效
}) async {
  return await TencentCloudChatSdkPlatform.instance.downloadMessage(
    msgID: msgID,
    messageType: messageType,
    imageType: imageType,
    isSnapshot: isSnapshot,
  );
}