Class: TD::Types::ArchiveChatListSettings

Inherits:
Base
  • Object
show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#archive_and_mute_new_chats_from_unknown_usersBoolean

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.

Returns:

  • (Boolean)

    the current value of archive_and_mute_new_chats_from_unknown_users



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_archivedBoolean

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.

Returns:

  • (Boolean)

    the current value of keep_chats_from_folders_archived



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_archivedBoolean

True, if unmuted chats will be kept in the Archive chat list when they get a new message.

Returns:

  • (Boolean)

    the current value of keep_unmuted_chats_archived



12
13
14
# File 'lib/tdlib/types/archive_chat_list_settings.rb', line 12

def keep_unmuted_chats_archived
  @keep_unmuted_chats_archived
end