Layer 227
method Bots
bots.getAccessSettings#213853a3 bot:InputUser = bots.AccessSettings;

Parameters

Name Type Description
Bot InputUser The managed bot whose access settings to retrieve

Gogram Example

// BotsGetAccessSettings - positional arguments
result, err := client.BotsGetAccessSettings(&tg.InputUserSelf{})
if err != nil {
    // handle error
}
// result is *tg.BotsAccessSettings

Possible Errors

Code Type Description
400 BOT_INVALID This is not a valid bot.
400 USER_BOT_REQUIRED This method can only be called by a bot.