Module

x/grammy_types/message.ts>MessageEntity.PreMessageEntity

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface MessageEntity.PreMessageEntity
implements AbstractMessageEntity
import { type MessageEntity } from "https://dotland.deno.dev/x/grammy_types@v3.6.2/message.ts";
const { PreMessageEntity } = MessageEntity;

Properties

type: "pre"
optional
language: string

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