ArchiveChatListSettings class final
Contains settings for automatic moving of chats to and from the Archive chat lists
Constructors
- ArchiveChatListSettings({required bool archiveAndMuteNewChatsFromUnknownUsers, required bool keepUnmutedChatsArchived, required bool keepChatsFromFoldersArchived, dynamic extra, int? clientId})
-
Contains settings for automatic moving of chats to and from the Archive chat lists
const
-
ArchiveChatListSettings.fromJson(Map<
String, dynamic> json) -
Parses a ArchiveChatListSettings from TDLib JSON.
factory
Properties
- archiveAndMuteNewChatsFromUnknownUsers → bool
-
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
final
- clientId → int?
-
Identifier of the TDLib client that sent this object.
final
- extra → dynamic
-
"@extra" of the request this object answers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keepChatsFromFoldersArchived → bool
-
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
final
- keepUnmutedChatsArchived → bool
-
True, if unmuted chats will be kept in the Archive chat list when they get a new message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? archiveAndMuteNewChatsFromUnknownUsers, bool? keepUnmutedChatsArchived, bool? keepChatsFromFoldersArchived, dynamic extra, int? clientId}) → ArchiveChatListSettings -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.