messages.EditMessage#

class pyrogram.raw.functions.messages.EditMessage#

Edit message.

Details:
  • Layer: 158

  • ID: 48F71778

Parameters:
  • peer (InputPeer) – Where was the message sent.

  • id (int 32-bit) – ID of the message to edit.

  • no_webpage (bool, optional) – Disable webpage preview.

  • message (str, optional) – New message.

  • media (InputMedia, optional) – New attached media.

  • reply_markup (ReplyMarkup, optional) – Reply markup for inline keyboards.

  • entities (List of MessageEntity, optional) – Message entities for styled text.

  • schedule_date (int 32-bit, optional) – Scheduled message date for scheduled messages.

Returns:

Updates