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 #
| Name | Type | Description |
|---|---|---|
| bot | InputUser | The bot |
| enabled | Bool | Whether to allow or prevent the bot from changing our emoji status |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | BOT_INVALID | This is not a valid bot. |
Related pages #
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.¶