Skip to content

GramIO API Reference / gramio/dist / EditMessageMediaParams

Interface: EditMessageMediaParams

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

Params object for editMessageMedia 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:3361
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:3365
inline_message_id?stringRequired if chat_id and message_id are not specified. Identifier of the inline message@gramio/types/out/params.d.ts:3373
mediaTelegramInputMediaA JSON-serialized object for a new media content of the message@gramio/types/out/params.d.ts:3377
message_id?numberRequired if inline_message_id is not specified. Identifier of the message to edit@gramio/types/out/params.d.ts:3369
reply_markup?TelegramInlineKeyboardMarkup | { toJSON: TelegramInlineKeyboardMarkup; }A JSON-serialized object for a new inline keyboard.@gramio/types/out/params.d.ts:3381