Telegram Bot API

Changes the emoji status for a given user that previously allowed the bot to manage their emoji status via the Mini App method requestEmojiStatusAccess. Returns True on success.

post/setUserEmojiStatus

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/setUserEmojiStatus
  • Auth: none declared

Request body

user_idinteger required

Unique identifier of the target user

emoji_status_custom_emoji_idstring

Custom emoji identifier of the emoji status to set. Pass an empty string to remove the status.

emoji_status_expiration_dateinteger

Expiration date of the emoji status, if any

Response

Telegram API response

oktrue required
resulttrue required

Changes

No recorded changes to this operation across all 3 revisions of this API.