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

x/grammy/types.web.ts>MessageEntity

The Telegram Bot Framework.
Very Popular
Go to Latest
type alias MessageEntity
Re-export
import { type MessageEntity } from "https://deno.land/x/grammy@v1.31.2/types.web.ts";

This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.

definition:
| MessageEntity.CommonMessageEntity
| MessageEntity.CustomEmojiMessageEntity
| MessageEntity.PreMessageEntity
| MessageEntity.TextLinkMessageEntity
| MessageEntity.TextMentionMessageEntity