mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.3 KiB
1.3 KiB
title | description | nav_exclude | image |
---|---|---|---|
videoSizeStickerMarkup | An animated profile picture based on a sticker. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: videoSizeStickerMarkup
An animated profile picture based on a sticker.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
stickerset | InputStickerSet | Optional | Stickerset |
sticker_id | long | Yes | Sticker ID |
background_colors | Array of int | Yes | 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. |
Type: VideoSize
Example:
$videoSizeStickerMarkup = ['_' => 'videoSizeStickerMarkup', 'stickerset' => InputStickerSet, 'sticker_id' => long, 'background_colors' => [int, int]];