add_sticker_to_set()

Client.add_sticker_to_set()

Add a sticker to stickerset.

Usable by Users Bots
Parameters:
  • set_short_name (str) – Stickerset shortname.

  • sticker (str) – sticker to add. Pass a file_id as string to send a file that exists on the Telegram servers.

  • emoji (str, optional) – Associated emoji. default to “🤔”

Returns:

StickerSet – On success, the StickerSet information is returned.

Example

await app.add_sticker_to_set("mypack1", "AsJiasp")