GramIO API Reference / gramio/dist / EditMessageTextParams
Interface: EditMessageTextParams
Defined in: @gramio/types/out/params.d.ts:3269
Params object for editMessageText method
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
business_connection_id? | string | Unique 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 | number | Required 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? | string | Required if chat_id and message_id are not specified. Identifier of the inline message | @gramio/types/out/params.d.ts:3285 |
link_preview_options? | TelegramLinkPreviewOptions | Link preview generation options for the message | @gramio/types/out/params.d.ts:3301 |
message_id? | number | Required 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 |
text | string | { toString: string; } | New text of the message, 1-4096 characters after entities parsing | @gramio/types/out/params.d.ts:3289 |