downloadAttachment method Null safety
- NIMChatroomMessage message,
- [bool thumb = false]
Download the attachment of the chatroom message.
thumb
(Only valid for image messages and video messages) Download the thumbnail or the original file, true: download the thumbnail, false: download the original file.
Implementation
Future<NIMResult<void>> downloadAttachment(NIMChatroomMessage message,
[bool thumb = false]) {
return _platform.downloadAttachment(message, thumb);
}