account.acceptAuthorization
Sends a Telegram Passport authorization form, effectively sharing data with the service
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
bot_id | long | أيوه | معرف البوت |
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 |
الردود
Bool
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.
- 400 · PUBLIC_KEY_REQUIRED — A public key is required.