bots.getAccessSettings
Get the access restriction settings » of a managed bot; can only be called by the manager bot.
Get the [access restriction settings »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot) of a managed bot; can only be called by the manager bot.
| Name | Type | Required | Description |
|---|---|---|---|
bot | InputUser | Yes | The managed bot whose access settings to retrieve |
Responses
bots.AccessSettings
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.
- 400 · USER_BOT_REQUIRED — This method can only be called by a bot.