public static class TdApi.ArchiveChatListSettings extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
archiveAndMuteNewChatsFromUnknownUsers
True, if new chats from non-contacts will be automatically archived and muted.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
keepChatsFromFoldersArchived
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.
|
boolean |
keepUnmutedChatsArchived
True, if unmuted chats will be kept in the Archive chat list when they get a new message.
|
| Constructor and Description |
|---|
ArchiveChatListSettings()
Contains settings for automatic moving of chats to and from the Archive chat lists.
|
ArchiveChatListSettings(boolean archiveAndMuteNewChatsFromUnknownUsers,
boolean keepUnmutedChatsArchived,
boolean keepChatsFromFoldersArchived)
Contains settings for automatic moving of chats to and from the Archive chat lists.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean archiveAndMuteNewChatsFromUnknownUsers
public boolean keepUnmutedChatsArchived
public boolean keepChatsFromFoldersArchived
public static final int CONSTRUCTOR
public ArchiveChatListSettings()
public ArchiveChatListSettings(boolean archiveAndMuteNewChatsFromUnknownUsers,
boolean keepUnmutedChatsArchived,
boolean keepChatsFromFoldersArchived)
archiveAndMuteNewChatsFromUnknownUsers - 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.keepUnmutedChatsArchived - True, if unmuted chats will be kept in the Archive chat list when they get a new message.keepChatsFromFoldersArchived - 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 keepUnmutedChatsArchived == true.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object