draftMessage

Represents a message draft.

draftMessage#3fccf7ef flags:# no_webpage:flags.1?true invert_media:flags.6?true reply_to:flags.4?InputReplyTo message:string entities:flags.3?Vector<MessageEntity> media:flags.5?InputMedia 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
invert_media flags.6?true If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.
reply_to flags.4?InputReplyTo If set, indicates that the message should be sent in reply to the specified message or story.
message string The draft
entities flags.3?Vector<MessageEntity> Message entities for styled text.
media flags.5?InputMedia Media.
date int Date of last update of the draft.
effect flags.7?long A message effect that should be played as specified here ยป.

Type

DraftMessage

Related pages

Styled text with message entities

How to create styled text with message entities

Animated message effects

Telegram allows adding spectacular animated effects to messages you send.

Message drafts

How to handle message drafts