Skip to content

GramIO API Reference / gramio/dist / EditMessageMediaParams

Interface: EditMessageMediaParams

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

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:3724
chat_id?string | numberRequired if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format @username.@gramio/types/out/params.d.ts:3728
inline_message_id?stringRequired if chat_id and message_id are not specified. Identifier of the inline message.@gramio/types/out/params.d.ts:3736
mediaTelegramInputMediaA JSON-serialized object for the new media content of the message@gramio/types/out/params.d.ts:3740
message_id?numberRequired if inline_message_id is not specified. Identifier of the message to edit.@gramio/types/out/params.d.ts:3732
reply_markup?TelegramInlineKeyboardMarkup | { toJSON: TelegramInlineKeyboardMarkup; }A JSON-serialized object for a new inline keyboard@gramio/types/out/params.d.ts:3744