Layer 220
VideoSizeEmojiMarkup
An animated profile picture based on a custom emoji sticker.
constructor
videoSizeEmojiMarkup#f85c413c emoji_id:long background_colors:Vector<int> = VideoSize;
Parameters
| Name | Type | Description |
|---|---|---|
| EmojiId | long | Custom emoji ID: the custom emoji sticker is shown at the center of the profile picture and occupies at most 67% of it. |
| BackgroundColors | Vector<int> | 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. |
Returns
VideoSizeGogram Example
// Creating VideoSizeEmojiMarkup constructor obj := &tg.VideoSizeEmojiMarkup{ EmojiId: int64(0), BackgroundColors: []int{}, }