Layer 220
WebPageAttributeStickerSet
Contains info about a stickerset, for a web Page preview of a stickerset deep link (the web Page will have a type of telegram_stickerset ).
constructor
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Emojis | flags.0?true | Whether this i s a custom emoji stickerset. |
| TextColor | flags.1?true | Whether the color of this TGS custom emoji stickerset should be changed to the text color when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context. |
| Stickers | Vector<Document> | A subset of the stickerset in the stickerset. |
Returns
WebPageAttributeGogram Example
// Creating WebPageAttributeStickerSet constructor obj := &tg.WebPageAttributeStickerSet{ Stickers: []tg.Document{&tg.Document{}}, // Optional fields: // Emojis: true, // TextColor: true, }