class pyrogram.raw.functions.stickers.CreateStickerSet#

Create a stickerset, bots only.

  • Layer: 158

  • ID: 9021AB67

  • user_id (InputUser) – Stickerset owner.

  • title (str) – Stickerset name, 1-64 chars.

  • short_name (str) – Short name of sticker set, to be used in sticker deep links ». Can contain only english letters, digits and underscores. Must begin with a letter, can’t contain consecutive underscores and, if called by a bot, must end in “_by_<bot_username>”. <bot_username> is case insensitive. 1-64 characters.

  • stickers (List of InputStickerSetItem) – Stickers.

  • masks (bool, optional) – Whether this is a mask stickerset.

  • animated (bool, optional) – Whether this is an animated stickerset.

  • videos (bool, optional) – Whether this is a video stickerset.

  • emojis (bool, optional) – Whether this is a custom emoji stickerset.

  • text_color (bool, optional) – Whether the color of TGS custom emojis contained in this set should be changed to the text color when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context. For custom emoji stickersets only.

  • thumb (InputDocument, optional) – Thumbnail.

  • software (str, optional) – Used when importing stickers using the sticker import SDKs, specifies the name of the software that created the stickers.