auth.importBotAuthorization
Login as a bot
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
flags | int | はい | 将来の使用のために予約されています |
api_id | int | はい | Application identifier (see. [App configuration](https://core.telegram.org/myapp)) |
api_hash | string | はい | Application identifier hash (see. [App configuration](https://core.telegram.org/myapp)) |
bot_auth_token | string | はい | Bot token (see [bots](https://core.telegram.org/bots.md)) |
レスポンス
auth.Authorization
MTProto RPC
- 400 · ACCESS_TOKEN_EXPIRED — Access token expired.
- 400 · ACCESS_TOKEN_INVALID — Access token invalid.
- 400 · API_ID_INVALID — API ID invalid.
- 400 · API_ID_PUBLISHED_FLOOD — This API id was published somewhere, you can't use it now.