Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>StickerSet_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class StickerSet_
extends _StickerSet_
import { StickerSet_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Represents a stickerset (stickerpack)

Constructors

new
StickerSet_(params: { archived?: true; official?: true; masks?: true; animated?: true; videos?: true; emojis?: true; text_color?: true; channel_emoji_status?: true; installed_date?: number; id: bigint; access_hash: bigint; title: string; short_name: string; thumbs?: Array<enums.PhotoSize>; thumb_dc_id?: number; thumb_version?: number; thumb_document_id?: bigint; count: number; hash: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
access_hash: bigint

Access hash of stickerset

optional
animated: true

Is this an animated stickerpack

optional
archived: true

Whether this stickerset was archived (due to too many saved stickers in the current account)

optional
channel_emoji_status: true

If set, this custom emoji stickerset can be used in channel emoji statuses.

count: number

Number of stickers in pack

optional
emojis: true

This is a custom emoji stickerset

hash: number

Hash

id: bigint

ID of the stickerset

optional
installed_date: number

When was this stickerset installed

optional
masks: true

Is this a mask stickerset

optional
official: true

Is this stickerset official

short_name: string

Short name of stickerset, used when sharing stickerset using stickerset deep links.

optional
text_color: 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.

optional
thumb_dc_id: number

DC ID of thumbnail

optional
thumb_document_id: bigint

Document ID of custom emoji thumbnail, fetch the document using messages.getCustomEmojiDocuments

optional
thumb_version: number

Thumbnail version

optional
thumbs: Array<enums.PhotoSize>

Stickerset thumbnail

title: string

Title of stickerset

optional
videos: true

Is this a video stickerpack

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc