StaticGramBot API

TextQuote

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

Поля

textString
Text of the quoted part of a message that is replied to by the given message
entitiesArray of MessageEntityoptional
Special entities that appear in the quote. Currently, only bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities are kept in quotes.
positionInteger
Approximate quote position in the original message in UTF-16 code units as specified by the sender
is_manualTrueoptional
True, if the quote was chosen manually by the message sender. Otherwise, the quote was added automatically by the server.

Минимальный JSON

JSON
{
  "text": "...",
  "position": 1
}

Где используется

Типы

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top