draftMessage

Represents a message draft.

draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector<MessageEntity> date:int = DraftMessage;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
no_webpage flags.1?true Whether no webpage preview will be generated
reply_to_msg_id flags.0?int The message this message will reply to
message string The draft
entities flags.3?Vector<MessageEntity> Message entities for styled text.
date int Date of last update of the draft.

Type

DraftMessage

Related pages

Styled text with message entities

How to create styled text with message entities

Message drafts

How to handle message drafts