Skip to content

GramIO API Reference / gramio/dist / TelegramTextQuote

Interface: TelegramTextQuote

Defined in: @gramio/types/out/objects.d.ts:1045

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

Documentation

Properties

PropertyTypeDescriptionDefined in
entities?TelegramMessageEntity[]Optional. Special entities that appear in the quote. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are kept in quotes.@gramio/types/out/objects.d.ts:1053
is_manual?trueOptional. True, if the quote was chosen manually by the message sender. Otherwise, the quote was added automatically by the server.@gramio/types/out/objects.d.ts:1061
positionnumberApproximate quote position in the original message in UTF-16 code units as specified by the sender@gramio/types/out/objects.d.ts:1057
textstringText of the quoted part of a message that is replied to by the given message@gramio/types/out/objects.d.ts:1049