Authorization class
Authorization.
ID: ad01d61d
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- AuthorizationBase
- Authorization
Constructors
- Authorization({required bool current, required bool officialApp, required bool passwordPending, required bool encryptedRequestsDisabled, required bool callRequestsDisabled, required bool unconfirmed, required int hash, required String deviceModel, required String platform, required String systemVersion, required int apiId, required String appName, required String appVersion, required DateTime dateCreated, required DateTime dateActive, required String ip, required String country, required String region})
-
Authorization constructor.
const
- Authorization.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- apiId → int
-
Api Id.
final
- appName → String
-
App Name.
final
- appVersion → String
-
App Version.
final
- callRequestsDisabled → bool
-
call_requests_disabled: bit 4 of flags.4?true
final
- country → String
-
Country.
final
- current → bool
-
current: bit 0 of flags.0?true
final
- dateActive → DateTime
-
Date Active.
final
- dateCreated → DateTime
-
Date Created.
final
- deviceModel → String
-
Device Model.
final
- encryptedRequestsDisabled → bool
-
encrypted_requests_disabled: bit 3 of flags.3?true
final
- flags → int
-
Flags.
no setter
- hash → int
-
Hash.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ip → String
-
Ip.
final
- officialApp → bool
-
official_app: bit 1 of flags.1?true
final
- passwordPending → bool
-
password_pending: bit 2 of flags.2?true
final
- platform → String
-
Platform.
final
- region → String
-
Region.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- systemVersion → String
-
System Version.
final
- unconfirmed → bool
-
unconfirmed: bit 5 of flags.5?true
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
List< int> buffer) → void -
Serialize.
override
-
toJson(
) → Map< String, dynamic> -
Converts an object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited