bots.toggleUserEmojiStatusPermission #

Allow or prevent a bot from changing our emoji status »

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
bots.toggleUserEmojiStatusPermission#6de6392 bot:InputUser enabled:Bool = Bool;

Parameters #

NameTypeDescription
botInputUserThe bot
enabledBoolWhether to allow or prevent the bot from changing our emoji status

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400BOT_INVALIDThis is not a valid bot.

Emoji status #

Telegram allows users to set an emoticon or a custom emoji as status, to show next to their name in chats and profiles.