#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| bool | archive_and_mute_new_chats_from_unknown_users_ |
| | 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.
|
| |
| bool | keep_unmuted_chats_archived_ |
| | True, if unmuted chats will be kept in the Archive chat list when they get a new message.
|
| |
| bool | keep_chats_from_folders_archived_ |
| | 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.
|
| |
|
| static const std::int32_t | ID = 1058499236 |
| | Identifier uniquely determining a type of the object.
|
| |
Contains settings for automatic moving of chats to and from the Archive chat lists.
Definition at line 1437 of file td_api.h.
◆ archiveChatListSettings() [1/2]
| td::td_api::archiveChatListSettings::archiveChatListSettings |
( |
| ) |
|
Contains settings for automatic moving of chats to and from the Archive chat lists.
◆ archiveChatListSettings() [2/2]
| td::td_api::archiveChatListSettings::archiveChatListSettings |
( |
bool |
archive_and_mute_new_chats_from_unknown_users_, |
|
|
bool |
keep_unmuted_chats_archived_, |
|
|
bool |
keep_chats_from_folders_archived_ |
|
) |
| |
Contains settings for automatic moving of chats to and from the Archive chat lists.
- Parameters
-
| [in] | archive_and_mute_new_chats_from_unknown_users_ | 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. |
| [in] | keep_unmuted_chats_archived_ | True, if unmuted chats will be kept in the Archive chat list when they get a new message. |
| [in] | keep_chats_from_folders_archived_ | 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. |
◆ store()
| void td::td_api::archiveChatListSettings::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ archive_and_mute_new_chats_from_unknown_users_
| bool td::td_api::archiveChatListSettings::archive_and_mute_new_chats_from_unknown_users_ |
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.
Definition at line 1448 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::archiveChatListSettings::ID = 1058499236 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 1469 of file td_api.h.
◆ keep_chats_from_folders_archived_
| bool td::td_api::archiveChatListSettings::keep_chats_from_folders_archived_ |
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.
Definition at line 1452 of file td_api.h.
◆ keep_unmuted_chats_archived_
| bool td::td_api::archiveChatListSettings::keep_unmuted_chats_archived_ |
True, if unmuted chats will be kept in the Archive chat list when they get a new message.
Definition at line 1450 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h