Layer 220
StickerSet
Represents a stickerset (stickerpack)
constructor
stickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true emojis:flags.7?true text_color:flags.9?true channel_emoji_status:flags.10?true creator:flags.11?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int thumb_document_id:flags.8?long count:int hash:int = StickerSet;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Archived | flags.1?true | Whether this stickerset was archived (due to too many saved stickers in the current account) |
| Official | flags.2?true | Is this stickerset official |
| Masks | flags.3?true | Is this a mask stickerset |
| Emojis | flags.7?true | This is a custom emoji stickerset |
| TextColor | flags.9?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. |
| ChannelEmojiStatus | flags.10?true | If set, this custom emoji stickerset can be used in channel/supergroup emoji statuses. |
| Creator | flags.11?true | Whether we created this stickerset |
| InstalledDate | flags.0?int | When was this stickerset installed |
| Id | long | ID of the stickerset |
| AccessHash | long | Access hash of stickerset |
| Title | string | Title of stickerset |
| ShortName | string | Short name of stickerset, used when sharing stickerset using stickerset deep links. |
| Thumbs | Vector<PhotoSize> | Stickerset thumbnail |
| ThumbDcId | flags.4?int | DC ID of thumbnail |
| ThumbVersion | flags.4?int | Thumbnail version |
| ThumbDocumentId | flags.8?long | Document ID of custom emoji thumbnail, fetch the document using messages. get Custom Emoji Documents |
| Count | int | Number of stickers in pack |
| Hash | int | Hash |
Returns
StickerSetGogram Example
// Creating StickerSet constructor obj := &tg.StickerSet{ Id: int64(0), AccessHash: int64(0), Title: "...", ShortName: "...", Count: 0, Hash: 0, // Optional fields: // Archived: true, // Official: true, // Masks: true, // Emojis: true, // ... more optional fields }