setUserEmojiStatus
Set or remove a user's emoji status by specifying a custom emoji and optional expiration, for users who granted access through Mini App requestEmojiStatusAccess.
Instructions
Change the emoji status for a user who authorized the bot via Mini App method requestEmojiStatusAccess. Returns True on success.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_id": "<user_id>"
},
"name": "setUserEmojiStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Unique identifier of the target user. | |
| emoji_status_custom_emoji_id | No | Custom emoji identifier of the emoji status to set. Pass empty string to remove the status. | |
| emoji_status_expiration_date | No | Expiration date of the emoji status, if any (Unix timestamp). |