archiveChat method

Future<void> archiveChat(
  1. ChatId id,
  2. bool archive
)

Archives or unarchives the specified Chat for the authenticated MyUser.

Implementation

Future<void> archiveChat(ChatId id, bool archive) {
  Log.debug('archiveChat($id, $archive)', '$runtimeType');
  return _chatRepository.archiveChat(id, archive);
}