Sends a Telegram Passport authorization form, effectively sharing data with the service
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.acceptAuthorization#f3ed4c73 bot_id:long scope:string public_key:string value_hashes:Vector<SecureValueHash> credentials:SecureCredentialsEncrypted = Bool;
Parameters
Result
Bool
Possible errors
Code |
Type |
Description |
400 |
BOT_INVALID |
This is not a valid bot. |
400 |
PUBLIC_KEY_REQUIRED |
A public key is required. |
Only users can use this method