UpdateFreezeState class final

The freeze state of the current user's account has changed

Inheritance

Constructors

UpdateFreezeState({required bool isFrozen, required int freezingDate, required int deletionDate, required String appealLink, dynamic extra, int? clientId})
The freeze state of the current user's account has changed
const
UpdateFreezeState.fromJson(Map<String, dynamic> json)
Parses a UpdateFreezeState from TDLib JSON.
factory

Properties

The link to open to send an appeal to unfreeze the account
final
clientId → int?
Identifier of the TDLib client that sent this object.
final
deletionDate → int
Point in time (Unix timestamp) when the account will be deleted and can't be unfrozen; 0 if the account isn't frozen
final
extra → dynamic
"@extra" of the request this object answers.
final
freezingDate → int
Point in time (Unix timestamp) when the account was frozen; 0 if the account isn't frozen
final
hashCode → int
The hash code for this object.
no setterinherited
isFrozen → bool
True, if the account is frozen
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? isFrozen, int? freezingDate, int? deletionDate, String? appealLink, dynamic extra, int? clientId}) → UpdateFreezeState
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
override
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.