InternalLinkTypePassportDataRequest class

The link contains a request of Telegram passport data. Call getPassportAuthorizationForm with the given parameters to process the link if the link was received from outside of the application; otherwise, ignore it.

Inheritance
Available Extensions

Constructors

InternalLinkTypePassportDataRequest({required int bot_user_id, required String scope, required String public_key, required String nonce, required String callback_url, int? extra, int? clientId})
The link contains a request of Telegram passport data. Call getPassportAuthorizationForm with the given parameters to process the link if the link was received from outside of the application; otherwise, ignore it

Properties

bot_user_id ↔ int
User identifier of the service's bot.
read / write
callback_url ↔ String
An HTTP URL to open once the request is finished, canceled, or failed with the parameters tg_passport=success, tg_passport=cancel, or tg_passport=error&error=... respectively..
read / write
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
nonce ↔ String
Unique request identifier provided by the service.
read / write
public_key ↔ String
Service's public key.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
scope ↔ String
Telegram Passport element types requested by the 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) → InternalLinkTypePassportDataRequest?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"internalLinkTypePassportDataRequest"