Skip to content

GramIO API Reference / gramio/dist / EditEphemeralMessageTextParams

Interface: EditEphemeralMessageTextParams

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

Params object for editEphemeralMessageText method

Properties

PropertyTypeDescriptionDefined in
chat_idstring | numberUnique identifier for the target chat or username of the target supergroup in the format @username@gramio/types/out/params.d.ts:3916
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:3936
ephemeral_message_idnumberIdentifier of the ephemeral message to edit@gramio/types/out/params.d.ts:3924
link_preview_options?TelegramLinkPreviewOptionsLink preview generation options for the message@gramio/types/out/params.d.ts:3944
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:3932
receiver_user_idnumberIdentifier of the user who received the message@gramio/types/out/params.d.ts:3920
reply_markup?TelegramInlineKeyboardMarkup | { toJSON: TelegramInlineKeyboardMarkup; }A JSON-serialized object for an inline keyboard@gramio/types/out/params.d.ts:3948
rich_message?TelegramInputRichMessageNew rich content of the message; required if text isn't specified@gramio/types/out/params.d.ts:3940
text?string | { toString: string; }New text of the message, 1-4096 characters after entity parsing; required if rich_message isn't specified@gramio/types/out/params.d.ts:3928