DraftMessage#
- class pyrogram.raw.types.DraftMessage#
Represents a message draft.
Constructor of
DraftMessage.- Details:
Layer:
214ID:
96EAA5EB
- Parameters:
message (
str) – The draftdate (
int32-bit) – Date of last update of the draft.no_webpage (
bool, optional) – Whether no webpage preview will be generatedinvert_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 text.media (
InputMedia, optional) – Media.effect (
int64-bit, optional) – A message effect that should be played as specified here ».suggested_post (
SuggestedPost, optional)