class pyrogram.raw.functions.messages.EditMessage

Edit message.

  • Layer: 126

  • ID: 0x48f71778

  • 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.


Updates – Object which is perceived by the client without a call on its part when an event occurs.