Skip to content

GramIO API Reference / gramio/dist / CreateNewStickerSetParams

Interface: CreateNewStickerSetParams

Defined in: @gramio/types/out/params.d.ts:3721

Params object for createNewStickerSet method

Properties

PropertyTypeDescriptionDefined in
namestringShort name of sticker set, to be used in t.me/addstickers/ URLs (e.g., animals). Can contain only English letters, digits and underscores. Must begin with a letter, can't contain consecutive underscores and must end in "_by_<bot_username>". <bot_username> is case insensitive. 1-64 characters.@gramio/types/out/params.d.ts:3729
needs_repainting?booleanPass True if stickers in the sticker set must be repainted to the color of text 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 sticker sets only@gramio/types/out/params.d.ts:3745
sticker_type?CreateNewStickerSetStickerTypeType of stickers in the set, pass “regular”, “mask”, or “custom_emoji”. By default, a regular sticker set is created.@gramio/types/out/params.d.ts:3741
stickersTelegramInputSticker[]A JSON-serialized list of 1-50 initial stickers to be added to the sticker set@gramio/types/out/params.d.ts:3737
titlestringSticker set title, 1-64 characters@gramio/types/out/params.d.ts:3733
user_idnumberUser identifier of created sticker set owner@gramio/types/out/params.d.ts:3725