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>DocumentAttributeCustomEmoji_

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

Info about a custom emoji

Constructors

new
DocumentAttributeCustomEmoji_(params: { free?: true; text_color?: true; alt: string; stickerset: enums.InputStickerSet; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
alt: string

The actual emoji

optional
free: true

Whether this custom emoji can be sent by non-Premium users

stickerset: enums.InputStickerSet

The emoji stickerset to which this emoji belongs.

optional
text_color: true

Whether the color of this TGS custom emoji 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.

Static Properties

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