teleproto - v1.234.0
    Preparing search index...

    Interface MessagesSaveDraftParams

    interface MessagesSaveDraftParams {
        effect?: BigInteger;
        entities?: TypeMessageEntityIn[];
        invertMedia?: boolean;
        media?: TypeInputMediaIn;
        message: string;
        noWebpage?: boolean;
        peer: TypeInputPeerIn;
        replyTo?: TypeInputReplyToIn;
        richMessage?: TypeInputRichMessageIn;
        suggestedPost?: TypeSuggestedPostIn;
    }
    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

    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?: TypeSuggestedPostIn

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