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_changeSticker_

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

Update the keywords, emojis or mask coordinates of a sticker, bots only.

Constructors

new
stickers_changeSticker_(params: { sticker: enums.InputDocument; emoji?: string; mask_coords?: enums.MaskCoords; keywords?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
emoji: string

If set, updates the emoji list associated to the sticker

optional
keywords: string

If set, updates the sticker keywords (separated by commas). Can't be provided for mask stickers.

optional
mask_coords: enums.MaskCoords

If set, updates the mask coordinates

sticker: enums.InputDocument

The sticker

Static Properties

__F: (params: { sticker: enums.InputDocument; emoji?: string; mask_coords?: enums.MaskCoords; keywords?: string; }) => enums.messages.StickerSet
readonly
[name]: string
readonly
[paramDesc]: ParamDesc