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

x/grammy_types/mod.ts>MessageEntity.PreMessageEntity

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

Properties

type: "pre"
optional
language: string

For “pre” only, the programming language of the entity text