setUserEmojiStatus
Changes a user's emoji status after they grant the bot access via the Mini App method requestEmojiStatusAccess; returns True on success.
Instructions
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.
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 an empty string to remove the status. | |
| emoji_status_expiration_date | No | Expiration date of the emoji status, if any |