class
Tourmaline::SuggestedPostParameters
- Tourmaline::SuggestedPostParameters
- Reference
- Object
Overview
Contains parameters of a post that is being suggested by the bot.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(pull : JSON::PullParser)
- .new(price : Tourmaline::SuggestedPostPrice | Nil = nil, send_date : Int32 | Int64 | Nil = nil)
Instance Method Summary
-
#price : Tourmaline::SuggestedPostPrice | Nil
Optional.
-
#price=(price : Tourmaline::SuggestedPostPrice | Nil)
Optional.
-
#send_date : Time | Nil
Optional.
-
#send_date=(send_date : Time | Nil)
Optional.
Constructor Detail
Instance Method Detail
Optional. Proposed price for the post. If the field is omitted, then the post is unpaid.
Optional. Proposed price for the post. If the field is omitted, then the post is unpaid.
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.
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.