AutosaveSettingsScopeChat class final
Autosave settings applied to a chat
- Inheritance
-
- Object
- TdObject
- AutosaveSettingsScope
- AutosaveSettingsScopeChat
- Available extensions
- Annotations
-
- @immutable
Constructors
- AutosaveSettingsScopeChat({required int chatId})
Properties
Methods
-
copyWith(
{int? chatId}) → AutosaveSettingsScopeChat -
Available on AutosaveSettingsScopeChat, provided by the AutosaveSettingsScopeChatExtensions extension
-
getConstructor(
) → String -
override
-
map<
TResult extends Object?> ({required TResult channelChats(AutosaveSettingsScopeChannelChats value), required TResult chat(AutosaveSettingsScopeChat value), required TResult groupChats(AutosaveSettingsScopeGroupChats value), required TResult privateChats(AutosaveSettingsScopePrivateChats value)}) → TResult -
Available on AutosaveSettingsScope, provided by the AutosaveSettingsScopeExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult channelChats(AutosaveSettingsScopeChannelChats value)?, TResult chat(AutosaveSettingsScopeChat value)?, TResult groupChats(AutosaveSettingsScopeGroupChats value)?, TResult privateChats(AutosaveSettingsScopePrivateChats value)?, required TResult orElse()}) → TResult -
Available on AutosaveSettingsScope, provided by the AutosaveSettingsScopeExtensions extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → AutosaveSettingsScopeChat? -
Inherited by:
AutosaveSettingsScopeChannelChats
AutosaveSettingsScopeChat
AutosaveSettingsScopeGroupChats
AutosaveSettingsScopePrivateChats
override
Constants
- constructor → const String