peyk.platforms.bale.methods.edit_message_text

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

Edits message text through the Bale API.

Parameters:
  • chat_id – Identifier of the target chat.

  • message_id – Identifier of the target message.

  • text – Text content supplied to the operation.

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

Returns:

Result produced by the Bale operation.