DraftMessage

class pyrogram.raw.types.DraftMessage

Represents a message draft.

Constructor of DraftMessage.

Details:
  • Layer: 187

  • ID: 2D65321F

Parameters:
  • message (str) – The draft

  • date (int 32-bit) – Date of last update of the draft.

  • no_webpage (bool, optional) – Whether no webpage preview will be generated

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

  • reply_to (InputReplyTo, optional) – If set, indicates that the message should be sent in reply to the specified message or story.

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

  • media (InputMedia, optional) – Media.

  • effect (int 64-bit, optional) – N/A