account.GetAuthorizationForm
- class pyrogram.raw.functions.account.GetAuthorizationForm
Returns a Telegram Passport authorization form for sharing data with a service
- Details:
Layer:
223ID:
A929597A
- Parameters:
bot_id (
int64-bit) – User identifier of the service’s botscope (
str) – Telegram Passport element types requested by the servicepublic_key (
str) – Service’s public key
- Returns:
TL Schema
account.getAuthorizationForm#a929597a
bot_id:long
scope:string
public_key:string
= account.AuthorizationForm
Parameter Tree
GetAuthorizationForm
├── bot_id →
long├── scope →
string└── public_key →
stringExample
await app.invoke(
GetAuthorizationForm(
bot_id=0,
scope="text",
public_key="text",
)
)