Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
interface MessageEntity.PreMessageEntity
implements AbstractMessageEntity
import { type MessageEntity } from "https://deno.land/x/grammy@v1.17.2/types.ts";
const { PreMessageEntity } = MessageEntity;

Properties

type: "pre"
optional
language: string

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