import { ITelegramClient } from '../../client.types.js'; import { InputFileLike, InputPeerLike, InputStickerSetItem, StickerType, StickerSet } from '../../types/index.js'; /** * Create a new sticker set. * * @param params * @returns Newly created sticker set */ export declare function createStickerSet(client: ITelegramClient, params: { /** * Owner of the sticker set (must be user). * * If this pack is created from a user account, * can only be `"self"` */ owner: InputPeerLike; /** * Title of the sticker set (1-64 chars) */ title: string; /** * Short name of the sticker set. * Can only contain English letters, digits and underscores * (i.e. must match `/^[a-zA-Z0-9_]+$/), * and (for bots) must end with `_by_` * (`` is case-insensitive). */ shortName: string; /** * Type of the stickers in this set. * * @default `sticker`, i.e. regular stickers. */ type?: StickerType; /** * Whether to create "adaptive" emoji set. * * Color of the emoji will be changed depending on the text color. * Only works for TGS-based emoji stickers */ adaptive?: boolean; /** * List of stickers to be immediately added into the pack. * There must be at least one sticker in this list. */ stickers: InputStickerSetItem[]; /** * Thumbnail for the set. * * The file must be either a `.png` file * up to 128kb, having size of exactly `100x100` px, * or a `.tgs` file up to 32kb. * * If not set, Telegram will use the first sticker * in the sticker set as the thumbnail */ thumb?: InputFileLike; /** * Upload progress callback. * * @param idx Index of the sticker * @param uploaded Number of bytes uploaded * @param total Total file size */ progressCallback?: (idx: number, uploaded: number, total: number) => void; }): Promise;