import { InputStickerInput } from '../inputs'; import { ErrorUnion, StickerSetUnion } from '../outputs'; /** * Adds a new sticker to a set; for bots only. Returns the sticker set * @param {Object} params * @param {number} [params.userId] - Sticker set owner * @param {string} [params.name] - Sticker set name * @param {InputStickerInput} [params.sticker] - Sticker to add to the set * @param {Object} state * @returns {StickerSetUnion | ErrorUnion} */ export declare type AddStickerToSetMethod = (params: AddStickerToSetParams, state?: Record) => Promise; export interface AddStickerToSetParams { /** Sticker set owner */ userId?: number; /** Sticker set name */ name?: string; /** Sticker to add to the set */ sticker?: InputStickerInput; }