Skip to content

DraftMessage

Type · TDLib 1.8.67 · d1085f9c

Contains information about a message draft

DraftMessage(
  reply_to: InputMessageReplyTo,
  date: int32,
  content: DraftMessageContent,
  effect_id: int64,
  suggested_post_info: InputSuggestedPostInfo
) → DraftMessage

reply_to

InputMessageReplyTo

Information about the message to be replied; inputMessageReplyToStory is unsupported; may be null if none

date

int32

Point in time (Unix timestamp) when the draft was created

content

DraftMessageContent

Content of the message draft

effect_id

int64

Identifier of the effect to apply to the message when it is sent; 0 if none

suggested_post_info

InputSuggestedPostInfo

Information about the suggested post; may be null if none