auth.importBotAuthorization
Login as a bot
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
flags | int | Ja | Für zukünftige Verwendung reserviert |
api_id | int | Ja | Application identifier (see. [App configuration](https://core.telegram.org/myapp)) |
api_hash | string | Ja | Application identifier hash (see. [App configuration](https://core.telegram.org/myapp)) |
bot_auth_token | string | Ja | Bot token (see [bots](https://core.telegram.org/bots.md)) |
Antworten
auth.Authorization
MTProto RPC
- 400 · ACCESS_TOKEN_EXPIRED – Zugriffstoken abgelaufen.
- 400 · ACCESS_TOKEN_INVALID – Zugriffstoken ungültig.
- 400 · API_ID_INVALID — API ID ungültig.
- 400 · API_ID_PUBLISHED_FLOOD – Diese API-ID wurde irgendwo veröffentlicht, Sie können sie jetzt nicht verwenden.