class

Tourmaline::SuggestedPostInfo

Inherits JSON::Serializable < Reference < Object

Contains information about a suggested post.

Constructors

new(state : String, price : Tourmaline::SuggestedPostPrice | Nil = nil, send_date : Int32 | Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

price

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

Source
price=(price : Tourmaline::SuggestedPostPrice | Nil)

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

Source
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.

Source
send_date=(send_date : Time | Nil)

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.

Source
state

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

Source
state=(state : String)

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

Source