Skip to content
AISARAISAR
Stickers

Stickers

Sticker pack updated

sticker.pack.updated

Fires when a pack is renamed, its order (`position`) changes, or its tray emoji changes. The "From chats" system pack's name cannot be changed — such an attempt is rejected at the business-logic level and no event is sent.

HTTP request

AISAR sends a signed POST request to your webhook_url:

http
POST {webhook_url}
Content-Type: application/json
X-AISAR-Signature: sha256=...

{
  "event": "sticker.pack.updated",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-08-22T12:05:00.000000Z",
  "company_id": 1,
  "data": {
    "sticker_pack": {
      "id": 14,
      "name": "Reactions v2",
      "is_system": false,
      "source": "manual",
      "tray_emoji": "🎉"
    }
  }
}

The X-AISAR-Signature header carries an HMAC-SHA256 signature of the request body — use it to verify the request came from AISAR.

Example payload

json
{
  "event": "sticker.pack.updated",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-08-22T12:05:00.000000Z",
  "company_id": 1,
  "data": {
    "sticker_pack": {
      "id": 14,
      "name": "Reactions v2",
      "is_system": false,
      "source": "manual",
      "tray_emoji": "🎉"
    }
  }
}

Payload fields

FieldTypeDescription
sticker_pack.idintegerSticker pack ID
sticker_pack.namestringPack name after the update
sticker_pack.is_systemboolean`true` for the "From chats" system pack, `false` for operator-created packs
sticker_pack.sourcestringPack origin: `manual`, `from_message`, or `telegram_import`
sticker_pack.tray_emojistring|nullTray emoji after the update