Raw.StickerSet
Represents a stickerset (stickerpack)
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;
export namespace Raw {
export class StickerSet {
constructor(params: {
archived?: boolean;
official?: boolean;
masks?: boolean;
emojis?: boolean;
textColor?: boolean;
channelEmojiStatus?: boolean;
creator?: boolean;
installedDate?: number;
id: bigint;
accessHash: bigint;
title: string;
shortName: string;
thumbs?: Array<Raw.TypePhotoSize>;
thumbDcId?: number;
thumbVersion?: number;
thumbDocumentId?: bigint;
count: number;
hash: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x2dd14edc
Property
archived
: boolean or undefinedWhether this stickerset was archived (due to too many saved stickers in the current account)
official
: boolean or undefinedIs this stickerset official
masks
: boolean or undefinedIs this a mask stickerset
emojis
: boolean or undefinedThis is a custom emoji stickerset
textColor
: boolean or undefinedWhether 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
: boolean or undefinedIf set, this custom emoji stickerset can be used in channel/supergroup emoji statuses.
creator
: boolean or undefinedWhether we created this stickerset
installedDate
: number or undefinedWhen was this stickerset installed
id
: bigintId of the stickerset
accessHash
: bigintAccess hash of stickerset
title
: stringTitle of stickerset
shortName
: stringShort name of stickerset, used when sharing stickerset using stickerset deep links.
thumbs
: Array of Raw.TypePhotoSize or undefinedStickerset thumbnail
thumbDcId
: number or undefinedDc id of thumbnail
thumbVersion
: number or undefinedThumbnail version
thumbDocumentId
: bigint or undefinedDocument id of custom emoji thumbnail, fetch the document using messages.getcustomemojidocuments
count
: numberNumber of stickers in pack
hash
: numberHash