Class: TD::Types::ArchiveChatListSettings
- Defined in:
- lib/tdlib/types/archive_chat_list_settings.rb
Overview
Contains settings for automatic moving of chats to and from the Archive chat lists.
Instance Attribute Summary collapse
-
#archive_and_mute_new_chats_from_unknown_users ⇒ Boolean
True, if new chats from non-contacts will be automatically archived and muted.
-
#keep_chats_from_folders_archived ⇒ Boolean
True, if unmuted chats, that are always included or pinned in a folder, will be kept in the Archive chat list when they get a new message.
-
#keep_unmuted_chats_archived ⇒ Boolean
True, if unmuted chats will be kept in the Archive chat list when they get a new message.
Method Summary
Methods inherited from Base
Instance Attribute Details
#archive_and_mute_new_chats_from_unknown_users ⇒ Boolean
True, if new chats from non-contacts will be automatically archived and muted. Can be set to true only if the option “can_archive_and_mute_new_chats_from_unknown_users” is true.
12 13 14 |
# File 'lib/tdlib/types/archive_chat_list_settings.rb', line 12 def archive_and_mute_new_chats_from_unknown_users @archive_and_mute_new_chats_from_unknown_users end |
#keep_chats_from_folders_archived ⇒ Boolean
True, if unmuted chats, that are always included or pinned in a folder, will be kept in the Archive chat list when they get a new message. Ignored if keep_unmuted_chats_archived == true.
12 13 14 |
# File 'lib/tdlib/types/archive_chat_list_settings.rb', line 12 def keep_chats_from_folders_archived @keep_chats_from_folders_archived end |
#keep_unmuted_chats_archived ⇒ Boolean
True, if unmuted chats will be kept in the Archive chat list when they get a new message.
12 13 14 |
# File 'lib/tdlib/types/archive_chat_list_settings.rb', line 12 def keep_unmuted_chats_archived @keep_unmuted_chats_archived end |