account.acceptAuthorization
Sends a Telegram Passport authorization form, effectively sharing data with the service
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
bot_id | long | Ja | Bot-ID |
scope | string | Ja | Telegram Passport element types requested by the service |
public_key | string | Ja | Service's public key |
value_hashes | Vector<SecureValueHash> | Ja | Types of values sent and their hashes |
credentials | SecureCredentialsEncrypted | Ja | Encrypted values |
Antworten
Bool
MTProto RPC
- 400 · BOT_INVALID – Dies ist kein gültiger Bot.
- 400 · PUBLIC_KEY_REQUIRED – Ein öffentlicher Schlüssel ist erforderlich.