Skip to content

GramIO API Reference / gramio/dist / CreateNewStickerSetParams

Interface: CreateNewStickerSetParams

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

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:3835
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:3851
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:3847
stickersTelegramInputSticker[]A JSON-serialized list of 1-50 initial stickers to be added to the sticker set@gramio/types/out/params.d.ts:3843
titlestringSticker set title, 1-64 characters@gramio/types/out/params.d.ts:3839
user_idnumberUser identifier of created sticker set owner@gramio/types/out/params.d.ts:3831