Skip to main content

videoSizeStickerMarkup

An animated profile picture based on a sticker.

type tg.VideoSizeStickerMarkup struct { /* ... */ }

Implements VideoSize.

Fields

NameTypeRequiredDescription
StickersetInputStickerSetClassyesStickerset
StickerIDint64yesSticker ID
BackgroundColors[]intyes1, 2, 3 or 4 RBG-24 colors used to generate a solid (1), gradient (2) or freeform gradient (3, 4) background, similar to how fill wallpapers are generated. The rotation angle for gradient backgrounds is 0.

References