Layer 224
method Users
bots.toggleUserEmojiStatusPermission#6de6392 bot:InputUser enabled:Bool = Bool;

Parameters

Name Type Description
Bot InputUser The bot
Enabled Bool Whether to allow or prevent the bot from changing our emoji status

Returns

Bool

Gogram Example

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

Possible Errors

Code Type Description
400 BOT_INVALID This is not a valid bot.