Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Sticker → Add Sticker To Set

AI-generated

Summary

Add a new sticker to an existing Telegram sticker set owned by a specified user.

Inputs

  • User ID (required) — Unique identifier of the target user who owns the sticker set.
  • Sticker Set Name (required) — Name of the sticker set to which the sticker will be added.
  • Stickers (JSON) (required) — A JSON array of InputSticker objects; only the first object in this array is used to add a single sticker to the set.

Output shape

an object representing the API response after adding the sticker to the set

The operation uses only the first InputSticker object from the provided JSON array. If successful, the response reflects Telegram API's standard response for adding a sticker to a set. Errors are thrown on failure, unless the node is set to continue on failure.

Examples

Example 1: To add a sticker to a set, provide the user ID of the sticker set owner, the name of the existing sticker set, and a JSON array with one InputSticker object describing the sticker to add.

Configure the node with resource set to 'Sticker' and operation set to 'Add Sticker To Set'. Fill 'User ID' with the owner's Telegram user ID, 'Sticker Set Name' with the existing set's name, and 'Stickers (JSON)' with a JSON array containing one InputSticker object.

Links

Discussion