create_new_sticker_set


Description:

public async StickerSet create_new_sticker_set (int64 user_id, string title, string name, StickerType sticker_type, bool needs_repainting, ArrayList<InputSticker?> stickers, string source) throws TDLibError

Creates a new sticker set. Returns the newly created sticker set

Parameters:

user_id

Sticker set owner; ignored for regular users

title

Sticker set title; 1-64 characters

name

Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_<bot username>"* (*< bot_username>* is case insensitive) for bots; 0-64 characters. If empty, then the name returned by Client.get_suggested_sticker_set_name will be used automatically

sticker_type

Type of the stickers in the set

needs_repainting

Pass true if stickers in the sticker set must be repainted; for custom emoji sticker sets only

stickers

List of stickers to be added to the set; 1-200 stickers for custom emoji sticker sets, and 1-120 stickers otherwise. For TGS stickers, Client.upload_sticker_file must be used before the sticker is shown

source

Source of the sticker set; may be empty if unknown