class

Tourmaline::SuggestedPostParameters

Inherits JSON::Serializable < Reference < Object

Contains parameters of a post that is being suggested by the bot.

Constructors

new(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 for the post. If the field is omitted, then the post is unpaid.

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

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

Source
send_date

Optional. Proposed send date of the post. If specified, then the date must be between 300 second and 2678400 seconds (30 days) in the future. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user who approves it.

Source
send_date=(send_date : Time | Nil)

Optional. Proposed send date of the post. If specified, then the date must be between 300 second and 2678400 seconds (30 days) in the future. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user who approves it.

Source