calculateGallery method
- ChatItemId? id
Returns a Paginated of ChatItems containing a collection of all the media files of this chat.
Implementation
Paginated<ChatItemId, Rx<ChatItem>> calculateGallery(ChatItemId? id) {
return chat.value!.attachments(item: id);
}