Skip to content

GramIO API Reference / gramio/dist / TelegramReplyParameters

Interface: TelegramReplyParameters

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

Describes reply parameters for the message that is being sent.

Documentation

Properties

PropertyTypeDescriptionDefined in
allow_sending_without_reply?booleanOptional. Pass True if the message should be sent even if the specified message to be replied to is not found. Always False for replies in another chat or forum topic. Always True for messages sent on behalf of a business account.@gramio/types/out/objects.d.ts:1189
chat_id?string | numberOptional. If the message to be replied to is from a different chat, unique identifier for the chat or username of the channel (in the format @channelusername). Not supported for messages sent on behalf of a business account and messages from channel direct messages chats.@gramio/types/out/objects.d.ts:1185
checklist_task_id?numberOptional. Identifier of the specific checklist task to be replied to@gramio/types/out/objects.d.ts:1209
message_idnumberIdentifier of the message that will be replied to in the current chat, or in the chat chat_id if it is specified@gramio/types/out/objects.d.ts:1181
quote?string | { toString: string; }Optional. Quoted part of the message to be replied to; 0-1024 characters after entities parsing. The quote must be an exact substring of the message to be replied to, including bold, italic, underline, strikethrough, spoiler, and custom_emoji entities. The message will fail to send if the quote isn't found in the original message.@gramio/types/out/objects.d.ts:1193
quote_entities?TelegramMessageEntity[]Optional. A JSON-serialized list of special entities that appear in the quote. It can be specified instead of quote_parse_mode.@gramio/types/out/objects.d.ts:1201
quote_parse_mode?"HTML" | "MarkdownV2" | "Markdown"Optional. Mode for parsing entities in the quote. See formatting options for more details.@gramio/types/out/objects.d.ts:1197
quote_position?numberOptional. Position of the quote in the original message in UTF-16 code units@gramio/types/out/objects.d.ts:1205