downloadAttachment static method

Future<NIMResult<void>> downloadAttachment({
  1. required NIMMessage message,
  2. required bool thumb,
})

下载消息附件

Implementation

static Future<NIMResult<void>> downloadAttachment(
    {required NIMMessage message, required bool thumb}) {
  return NimCore.instance.messageService
      .downloadAttachment(message: message, thumb: thumb);
}