Sends a Telegram Passport authorization form, effectively sharing data with the service
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector<SecureValueHash> credentials:SecureCredentialsEncrypted = Bool;
Name | Type | Description |
---|---|---|
bot_id | int | Bot ID |
scope | string | Telegram Passport element types requested by the service |
public_key | string | Service's public key |
value_hashes | Vector<SecureValueHash> | Types of values sent and their hashes |
credentials | SecureCredentialsEncrypted | Encrypted values |