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

x/grammy/types.web.ts>TextQuote

The Telegram Bot Framework.
Very Popular
Latest
interface TextQuote
import { type TextQuote } from "https://deno.land/x/grammy@v1.32.0/types.web.ts";

This object contains information about the quoted part of a message that is replied to by the given message.

Properties

text: string

Text of the quoted part of a message that is replied to by the given message

optional
entities: MessageEntity[]

Special entities that appear in the quote. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are kept in quotes.

position: number

Approximate quote position in the original message in UTF-16 code units as specified by the sender

optional
is_manual: true

True, if the quote was chosen manually by the message sender. Otherwise, the quote was added automatically by the server.