messages.SaveDraft
- class pyrogram.raw.functions.messages.SaveDraft
Save a message draft associated to a chat.
- Details:
Layer:
194
ID:
D372C5CE
- 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 (
int
64-bit
, optional) – N/A
- Returns:
bool