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

x/mtkruto/tl/3_functions.ts>stickers_createStickerSet_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class stickers_createStickerSet_
extends Function_<enums.messages.StickerSet>
import { stickers_createStickerSet_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Create a stickerset, bots only.

Constructors

new
stickers_createStickerSet_(params: { masks?: true; animated?: true; videos?: true; emojis?: true; text_color?: true; user_id: enums.InputUser; title: string; short_name: string; thumb?: enums.InputDocument; stickers: Array<enums.InputStickerSetItem>; software?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
animated: true

Whether this is an animated stickerset

optional
emojis: true

Whether this is a custom emoji stickerset.

optional
masks: true

Whether this is a mask stickerset

short_name: string

Short name of sticker set, to be used in sticker deep links ». Can contain only english letters, digits and underscores. Must begin with a letter, can't contain consecutive underscores and, if called by a bot, must end in "_by_<bot_username>". <bot_username> is case insensitive. 1-64 characters.

optional
software: string

Used when importing stickers using the sticker import SDKs, specifies the name of the software that created the stickers

stickers: Array<enums.InputStickerSetItem>

Stickers

optional
text_color: true

Whether the color of TGS custom emojis contained in this set 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. For custom emoji stickersets only.

optional
thumb: enums.InputDocument

Thumbnail

title: string

Stickerset name, 1-64 chars

user_id: enums.InputUser

Stickerset owner

optional
videos: true

Whether this is a video stickerset

Static Properties

__F: (params: { masks?: true; animated?: true; videos?: true; emojis?: true; text_color?: true; user_id: enums.InputUser; title: string; short_name: string; thumb?: enums.InputDocument; stickers: Array<enums.InputStickerSetItem>; software?: string; }) => enums.messages.StickerSet
readonly
[name]: string
readonly
[paramDesc]: ParamDesc