Skip to content

getPassportAuthorizationForm

Function · TDLib 1.8.67 · d1085f9c

Returns a Telegram Passport authorization form for sharing data with a service

getPassportAuthorizationForm(
  bot_user_id: int53,
  scope: string,
  public_key: string,
  nonce: string
) → PassportAuthorizationForm

bot_user_id

int53

User identifier of the service's bot

scope

string

Telegram Passport element types requested by the service

public_key

string

Service's public key

nonce

string

Unique request identifier provided by the service