Documentation - v0.32.2
    Preparing search index...

    Interface InputSuggestedPost

    Information about a post suggested to a channel via its direct messages chat

    interface InputSuggestedPost {
        price?: InputStarsAmount;
        scheduleDate?: number | Date;
    }
    Index

    Properties

    Price of the post that will be paid to the channel once the post is published. Pass a { _: 'starsTonAmount', ... } object to pay in TON.

    If not passed, the post is suggested for free

    scheduleDate?: number | Date

    Date when the post should be published. When passing a number, a UNIX time in ms is expected.

    If not passed, the date will be chosen by the channel administrators