class
Hamilton::Types::SuggestedPostParameters
- Hamilton::Types::SuggestedPostParameters
- Reference
- Object
Overview
Contains parameters of a post that is being suggested by the bot.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/suggested_post_parameters.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#price : Hamilton::Types::SuggestedPostPrice | Nil
Proposed price for the post.
-
#price=(price : Hamilton::Types::SuggestedPostPrice | Nil)
Proposed price for the post.
-
#send_date : Int32 | Nil
Proposed send date of the post.
-
#send_date=(send_date : Int32 | Nil)
Proposed send date of the post.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Proposed price for the post. If the field is omitted, then the post is unpaid.
Proposed price for the post. If the field is omitted, then the post is unpaid.
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.
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.