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://dotland.deno.dev/x/grammy_types@v3.15.0/mod.ts";
const { TextMentionMessageEntity } = MessageEntity;

Properties

type: "text_mention"
user: User

For “text_mention” only, the mentioned user