Interface DraftMessage

Contains information about a message draft.

interface DraftMessage {
    @type: "draftMessage";
    content: DraftMessageContent;
    date: number;
    effect_id: string;
    reply_to: InputMessageReplyTo;
    suggested_post_info: InputSuggestedPostInfo;
}

Properties

@type: "draftMessage"

Content of the message draft.

date: number

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

effect_id: string

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

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

suggested_post_info: InputSuggestedPostInfo

Information about the suggested post; may be null if none.