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) – Message ID the message should reply to.top_msg_id (
int
32-bit
, optional) – Forum topic where the message will be sent.entities (List of
MessageEntity
, optional) – Message entities for styled text.
- Returns:
bool