messages.SaveDraft¶
- class hydrogram.raw.functions.messages.SaveDraft[source]¶
Save a message draft associated to a chat.
- Details:
Layer:
181ID:
7FF3B806
- Parameters:
peer (
InputPeer) – Destination of the message that should be sentmessage (
str) – The draftno_webpage (
bool, optional) – Disable generation of the webpage previewinvert_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 textmedia (
InputMedia, optional) – Attached media
- Returns:
bool