send_message_draft()

Client.send_message_draft()

Save a message draft.

Parameters:
  • chat_id (int | str) – Target chat.

  • text (str) – Draft text.

  • parse_mode (ParseMode, optional) – Parse mode.

  • entities (list, *optional*) – Special entities in the text.

  • no_webpage (bool, optional) – Disable link preview.

  • reply_to_message_id (int, optional) – Message ID to reply to.

Returns:

bool – True on success.