teleproto - v1.229.0
    Preparing search index...

    Interface MessagesSaveDraftParams

    interface MessagesSaveDraftParams {
        effect?: BigInteger;
        entities?: TypeMessageEntityIn[];
        invertMedia?: boolean;
        media?: TypeInputMediaIn;
        message: string;
        noWebpage?: boolean;
        peer: EntityLike;
        replyTo?: TypeInputReplyToIn;
        richMessage?: TypeInputRichMessageIn;
        suggestedPost?: SuggestedPostIn;
    }
    Index
    effect?: BigInteger

    Specifies a message effect » to use for the message.

    entities?: TypeMessageEntityIn[]

    Message entities for styled text

    invertMedia?: boolean

    If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.

    Attached media

    message: string

    The draft

    noWebpage?: boolean

    Disable generation of the webpage preview

    peer: EntityLike

    Destination of the message that should be sent

    If set, indicates that the message should be sent in reply to the specified message or story.

    suggestedPost?: SuggestedPostIn

    Used to suggest a post to a channel, see here » for more info on the full flow.