Tourmaline::SuggestedPostInfo
Inherits JSON::Serializable < Reference < Object
Contains information about a suggested post.
Constructors
new(pull : JSON::PullParser)
Sourcenew(state : String, price : Tourmaline::SuggestedPostPrice | Nil = nil, send_date : Int32 | Int64 | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Optional. Proposed price of the post. If the field is omitted, then the post is unpaid.
send_date
Optional. 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.
Optional. 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.
state
State of the suggested post. Currently, it can be one of "pending", "approved", "declined".