DraftMessage

class pyrogram.raw.types.DraftMessage

Represents a message draft.

Constructor type of DraftMessage.

Details
  • Layer: 126

  • ID: 0xfd8e711f

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) – The message this message will reply to.

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