DraftMessage#

class pyrogram.raw.types.DraftMessage#

Represents a message draft.

Constructor of DraftMessage.

Details:
  • Layer: 158

  • ID: FD8E711F

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.

  • reply_to_msg_id (int 32-bit, optional) – N/A

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