Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/mod.ts>MessageEntity.TextMentionMessageEntity

Type declarations of the Telegram Bot API.
Latest
interface MessageEntity.TextMentionMessageEntity
implements AbstractMessageEntity
import { type MessageEntity } from "https://deno.land/x/grammy_types@v3.15.0/mod.ts";
const { TextMentionMessageEntity } = MessageEntity;

Properties

type: "text_mention"
user: User

For “text_mention” only, the mentioned user