Skip to content

sendPassportAuthorizationForm

Function · TDLib 1.8.67 · d1085f9c

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

sendPassportAuthorizationForm(
  authorization_form_id: int32,
  types: list of PassportElementType
) → Ok

authorization_form_id

int32

Authorization form identifier

types

list of PassportElementType

Types of Telegram Passport elements chosen by user to complete the authorization form