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 | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
bot | InputUser | Ja | The managed bot whose access settings to retrieve |
Antworten
bots.AccessSettings
MTProto RPC
- 400 · BOT_INVALID – Dies ist kein gültiger Bot.
- 400 · USER_BOT_REQUIRED — Diese Methode kann nur von einem Bot aufgerufen werden.