UpdateTermsOfService class
New terms of service must be accepted by the user. If the terms of service are declined, then the deleteAccount method must be called with the reason "Decline ToS update".
- Inheritance
- Available Extensions
Constructors
- UpdateTermsOfService({required String terms_of_service_id, required TermsOfService terms_of_service, int? extra, int? clientId})
- New terms of service must be accepted by the user. If the terms of service are declined, then the deleteAccount method must be called with the reason "Decline ToS update"
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- terms_of_service ↔ TermsOfService
-
The new terms of service.
read / write
- terms_of_service_id ↔ String
-
Identifier of the terms of service.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → UpdateTermsOfService? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"updateTermsOfService"