messages.SaveDraft#

class pyrogram.raw.functions.messages.SaveDraft#

Save a message draft associated to a chat.

Details:
  • Layer: 158

  • ID: B4331E3F

Parameters:
  • peer (InputPeer) – Destination of the message that should be sent.

  • message (str) – The draft.

  • no_webpage (bool, optional) – Disable generation of the webpage preview.

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

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

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

Returns:

bool