Interface SuggestedPostInfo

Contains information about a suggested post. If the post can be approved or declined, then changes to the post can also be suggested. Use sendMessage with a reply to the message and suggested post information to suggest message changes. Use addOffer to suggest price or time changes.

interface SuggestedPostInfo {
    @type: "suggestedPostInfo";
    can_be_approved?: boolean;
    can_be_declined?: boolean;
    price: SuggestedPostPrice;
    send_date: number;
    state: SuggestedPostState;
}

Properties

@type: "suggestedPostInfo"
can_be_approved?: boolean

True, if the suggested post can be approved by the current user using approveSuggestedPost; updates aren't sent when the value of this field changes.

can_be_declined?: boolean

True, if the suggested post can be declined by the current user using declineSuggestedPost; updates aren't sent when the value of this field changes.

Price of the suggested post; may be null if the post is non-paid.

send_date: number

Point in time (Unix timestamp) when the post is expected to be published; 0 if the specific date isn't set yet.

State of the post.