VideoSizeStickerMarkup

class pyrogram.raw.types.VideoSizeStickerMarkup

An animated profile picture based on a sticker.

Constructor of VideoSize.

Details:
  • Layer: 223

  • ID: DA082FE

Parameters:
  • stickerset (InputStickerSet) – Stickerset

  • sticker_id (int 64-bit) – Sticker ID

  • background_colors (List of int 32-bit) – 1, 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.

TL Schema

videoSizeStickerMarkup#da082fe
stickerset:InputStickerSet
sticker_id:long
background_colors:Vector<int>

= VideoSize

Parameter Tree

VideoSizeStickerMarkup
├── stickersetInputStickerSet
│ ├── InputStickerSetEmpty
│ ├── InputStickerSetID
│ │ ├── idlong
│ │ └── access_hashlong
│ │ └── short_namestring
│ ├── InputStickerSetDice
│ │ └── emoticonstring
├── sticker_idlong
└── background_colorsVector < int >

Example

VideoSizeStickerMarkup(
    stickerset=InputStickerSetEmpty(),
    sticker_id=0,
    background_colors=[0],
)