SendPassportAuthorizationForm constructor

const SendPassportAuthorizationForm({
  1. required int autorizationFormId,
  2. required List<PassportElementType> types,
})

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

Implementation

const SendPassportAuthorizationForm({
  required this.autorizationFormId,
  required this.types,
});