sticker_delete
Remove a custom sticker and its image file from the server.
Request
Section titled “Request”{ "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. |
Response
Section titled “Response”{ "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.
Permissions
Section titled “Permissions”Requires manage_emojis. A user in timeout gets a rate_limit frame instead.
Errors
Section titled “Errors”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. |
