peyk.platforms.bale.methods.edit_message_caption

async peyk.platforms.bale.methods.edit_message_caption(self, chat_id: int | str, message_id: int, *, caption: str | None = None, reply_markup: Mapping[str, object] | None = None) Message[source]

Edits message caption through the Bale API.

Parameters:
  • chat_id – Identifier of the target chat.

  • message_id – Identifier of the target message.

  • caption – Value used by this operation.

  • reply_markup – Keyboard or reply markup attached to the request.

Returns:

Result produced by the Bale operation.