SendPassportAuthorizationForm class final

SendPassportAuthorizationForm (sendPassportAuthorizationForm) - TDLib function

Sends a Telegram Passport authorization form, effectively sharing data with the service. This method must be called after getPassportAuthorizationFormAvailableElements if some previously available elements are going to be reused.

  • authorizationFormId: Authorization form identifier.
  • types: Types of Telegram Passport elements chosen by user to complete the authorization form.

Ok is returned on completion.

Inheritance

Constructors

SendPassportAuthorizationForm({required int authorizationFormId, required List<PassportElementType> types})
SendPassportAuthorizationForm (sendPassportAuthorizationForm) - TDLib function
const

Properties

authorizationFormId int
Authorization form identifier
final
currentObjectId String
TDLib object type for current class instance
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types List<PassportElementType>
Types of Telegram Passport elements chosen by user to complete the authorization form
final

Methods

copyWith({int? authorizationFormId, List<PassportElementType>? types}) SendPassportAuthorizationForm
Copy model with modified properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
Convert model to TDLib JSON format
override
toString() String
Convert model to TDLib JSON format, encoded into String.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultObjectId → const String
TDLib object type