bots.updateUserEmojiStatus
Change the emoji status of a user (invoked by bots, see here » for more info on the full flow)
Change the emoji status of a user (invoked by bots, see [here »](https://core.telegram.org/api/emoji-status.md#setting-an-emoji-status-from-a-bot) for more info on the full flow)
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
user_id | InputUser | أيوه | The user whose emoji status should be changed |
emoji_status | EmojiStatus | أيوه | The emoji status |
الردود
Bool
MTProto RPC
- 400 · USER_BOT_REQUIRED — This method can only be called by a bot.
- 400 · USER_ID_INVALID — The provided user ID is invalid.
- 403 · USER_PERMISSION_DENIED — The user hasn't granted or has revoked the bot's access to change their emoji status using [bots.toggleUserEmojiStatusPermission](https://core.telegram.org/method/bots.toggleUserEmojiStatusPermission.md).