messages.SaveDraft#
- class pyrogram.raw.functions.messages.SaveDraft#
Save a message draft associated to a chat.
- Details:
Layer:
214ID:
54AE308E
- 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 mediaeffect (
int64-bit, optional) – Specifies a message effect » to use for the message.suggested_post (
SuggestedPost, optional)
- Returns:
bool