Skip to content

sticker_delete

Remove a custom sticker and its image file from the server.

{
"cmd": "sticker_delete",
"sticker_id": "2"
}
Field Type Required Description
sticker_id string or integer Yes The sticker’s ID, such as "2" or 2. Must be digits only.
{
"cmd": "sticker_delete",
"id": "2",
"deleted": true
}

deleted is false when no sticker has that ID. This is not an error.

The server doesn’t broadcast the deletion. Its image URL returns 404 afterwards.

Requires manage_emojis. A user in timeout gets a rate_limit frame instead.

val When
Invalid sticker_delete data: sticker_id must be an integer sticker_id is missing or isn’t a non-negative whole number.
Custom asset storage is unavailable The sticker index file can’t be read.
Failed to save custom asset The updated index couldn’t be written.