class
Tourmaline::SuggestedPostApproved
- Tourmaline::SuggestedPostApproved
- Reference
- Object
Overview
Describes a service message about the approval of a suggested post.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(pull : JSON::PullParser)
- .new(send_date : Time, suggested_post_message : Tourmaline::Message | Nil = nil, price : Tourmaline::SuggestedPostPrice | Nil = nil)
Instance Method Summary
-
#price : Tourmaline::SuggestedPostPrice | Nil
Optional.
-
#price=(price : Tourmaline::SuggestedPostPrice | Nil)
Optional.
-
#send_date : Time
Date when the post will be published
-
#send_date=(send_date : Time)
Date when the post will be published
-
#suggested_post_message : Tourmaline::Message | Nil
Optional.
-
#suggested_post_message=(suggested_post_message : Tourmaline::Message | Nil)
Optional.
Constructor Detail
def self.new(send_date : Time, suggested_post_message : Tourmaline::Message | Nil = nil, price : Tourmaline::SuggestedPostPrice | Nil = nil)
#
Instance Method Detail
def suggested_post_message : Tourmaline::Message | Nil
#
Optional. Message containing the suggested post. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.
def suggested_post_message=(suggested_post_message : Tourmaline::Message | Nil)
#
Optional. Message containing the suggested post. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.