GramIO API Reference / gramio/dist / EditMessageMediaParams
Interface: EditMessageMediaParams
Defined in: @gramio/types/out/params.d.ts:3463
Params object for editMessageMedia 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:3467 |
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:3471 |
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:3479 |
media | TelegramInputMedia | A JSON-serialized object for a new media content of the message | @gramio/types/out/params.d.ts:3483 |
message_id? | number | Required if inline_message_id is not specified. Identifier of the message to edit | @gramio/types/out/params.d.ts:3475 |
reply_markup? | TelegramInlineKeyboardMarkup | { toJSON: TelegramInlineKeyboardMarkup; } | A JSON-serialized object for a new inline keyboard. | @gramio/types/out/params.d.ts:3487 |