telegramsjs
    Preparing search index...

    Class SuggestedPostInfo

    Index

    Constructors

    • Parameters

      • data: SuggestedPostInfo

        Data about the contains information about a suggested post.

      Returns SuggestedPostInfo

    Properties

    createdUnixTime?: number

    Proposed send date of the post. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user or administrator who approves it.

    Proposed price of the post. If the field is omitted, then the post is unpaid.

    state: "pending" | "approved" | "declined"

    State of the suggested post. Currently, it can be one of “pending”, “approved”, “declined”.

    Accessors

    • get createdAt(): Date | null

      Date the withdrawal was completed

      Returns Date | null

    • get createdTimestamp(): number | null

      Return the timestamp withdrawal was completed, in milliseconds

      Returns number | null