Skip to content

GramIO API Reference / gramio/dist / EditMessageTextParams

Interface: EditMessageTextParams

Defined in: @gramio/types/out/params.d.ts:3269

Params object for editMessageText method

Properties

PropertyTypeDescriptionDefined in
business_connection_id?stringUnique identifier of the business connection on behalf of which the message to be edited was sent@gramio/types/out/params.d.ts:3273
chat_id?string | numberRequired if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)@gramio/types/out/params.d.ts:3277
entities?TelegramMessageEntity[]A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode@gramio/types/out/params.d.ts:3297
inline_message_id?stringRequired if chat_id and message_id are not specified. Identifier of the inline message@gramio/types/out/params.d.ts:3285
link_preview_options?TelegramLinkPreviewOptionsLink preview generation options for the message@gramio/types/out/params.d.ts:3301
message_id?numberRequired if inline_message_id is not specified. Identifier of the message to edit@gramio/types/out/params.d.ts:3281
parse_mode?"HTML" | "MarkdownV2" | "Markdown"Mode for parsing entities in the message text. See formatting options for more details.@gramio/types/out/params.d.ts:3293
reply_markup?TelegramInlineKeyboardMarkup | { toJSON: TelegramInlineKeyboardMarkup; }A JSON-serialized object for an inline keyboard.@gramio/types/out/params.d.ts:3305
textstring | { toString: string; }New text of the message, 1-4096 characters after entities parsing@gramio/types/out/params.d.ts:3289