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.
.kindcan be:@username.#hashtag.$USD./start.https://example.com[email protected].+42000.strikethroughtext.monospacedstring.monospacedblock..languagecontains the language of the block (if available)..userIdcontains the ID of the mentioned user..emojiIdcontains the emoji ID.