Telegram Bot icon

Telegram Bot

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

Actions101

Sticker → Set Sticker Set Thumbnail

AI-generated

Summary

Set the thumbnail image for a Telegram sticker set by uploading a new thumbnail file.

Inputs

  • User ID (required) — Unique identifier of the target user who owns the sticker set.
  • Sticker Set Name (required) — The name of the sticker set to set the thumbnail for.
  • Sticker Format (required) — Format of the sticker thumbnail; options are Static, Animated, or Video.
  • Binary Property (required) — The name of the binary property containing the thumbnail file to upload.

Output shape

a single object representing the Telegram API response

Returns the raw response result from Telegram after setting the sticker set thumbnail. If multiple input items are processed, outputs an array of objects, each containing the result for the respective input item.

Examples

Example 1: Set the thumbnail image for a sticker set using a static sticker image loaded from binary data.

Provide the user ID of the sticker set owner, the exact sticker set name, select the sticker format as 'Static', and specify the binary property that holds the image data to be used as the thumbnail.

Links

Discussion