class MessageEntityCustomEmoji_
extends _MessageEntity_
import { MessageEntityCustomEmoji_ } from "https://deno.land/x/mtkruto@0.1.157/tl/2_types.ts";
Represents a custom emoji.
Note that this entity must wrap exactly one regular emoji (the one contained in documentAttributeCustomEmoji.alt
) in the related text, otherwise the server will ignore it.
Properties
protected
readonly
[params]: ParamsDocument ID of the custom emoji, use messages.getCustomEmojiDocuments to fetch the emoji animation and the actual emoji it represents.
Length of message entity within message (in UTF-16 code units)
Offset of message entity within message (in UTF-16 code units)
Static Properties
readonly
[paramDesc]: ParamDesc