Returns a Telegram Passport authorization form for sharing data with a service
Method schema is available as of layer 133. Switch ยป
Parameters
Name |
Type |
Description |
bot_id |
long |
User identifier of the service's bot |
scope |
string |
Telegram Passport element types requested by the service |
public_key |
string |
Service's public key |
Result
account.AuthorizationForm
Only users can use this method
Possible errors
Code |
Type |
Description |
400 |
BOT_INVALID |
This is not a valid bot. |
400 |
PUBLIC_KEY_REQUIRED |
A public key is required. |