GramIO API Reference / gramio/dist / EditMessageMediaParams
Interface: EditMessageMediaParams
Defined in: @gramio/types/out/params.d.ts:3357
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:3361 |
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:3365 |
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:3373 |
media | TelegramInputMedia | A JSON-serialized object for a new media content of the message | @gramio/types/out/params.d.ts:3377 |
message_id? | number | Required 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 |