Type Alias MessageEntityParams
MessageEntityParams: | { kind: | "mention" | "hashtag" | "cashtag" | "bot_command" | "url" | "email" | "phone_number" | "bold" | "italic" | "underline" | "strikethrough" | "spoiler" | "code" | "bank_card" | "unknown"; } | { collapsible: boolean; kind: "blockquote"; } | { kind: "pre"; language?: string; } | { kind: "text_link"; url: string; } | { kind: "text_mention"; userId: number; } | { emojiId: tl.Long; kind: "emoji"; }
Params of the entity.
.kind
can be:@username
.#hashtag
.$USD
./start
.https://example.com
example@example.com
.+42000
.strikethroughtext.monospaced
string.monospaced
block..language
contains the language of the block (if available)..userId
contains the ID of the mentioned user..emojiId
contains the emoji ID.