messages.EditMessage

class pyrogram.raw.functions.messages.EditMessage

Edit message

Details:
  • Layer: 187

  • ID: DFD14005

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

  • invert_media (bool, optional) – If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.

  • 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

  • quick_reply_shortcut_id (int 32-bit, optional)

Returns:

Updates