TextQuote

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

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

Fields

FieldTypeRequiredDescription
textStringAlwaysText of the quoted part of a message that is replied to by the given message
entitiesArray of MessageEntityOptionalSpecial entities that appear in the quote. Currently, only bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities are kept in quotes.
positionIntegerAlwaysApproximate quote position in the original message in UTF-16 code units as specified by the sender
is_manualTrueOptionalTrue, if the quote was chosen manually by the message sender. Otherwise, the quote was added automatically by the server.
Botlify Cloud Runtime
Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.