class
Tourmaline::SuggestedPostApprovalFailed
- Tourmaline::SuggestedPostApprovalFailed
- Reference
- Object
Overview
Describes a service message about the failed approval of a suggested post. Currently, only caused by insufficient user funds at the time of approval.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(pull : JSON::PullParser)
- .new(price : Tourmaline::SuggestedPostPrice, suggested_post_message : Tourmaline::Message | Nil = nil)
Instance Method Summary
-
#price : Tourmaline::SuggestedPostPrice
Expected price of the post
-
#price=(price : Tourmaline::SuggestedPostPrice)
Expected price of the post
-
#suggested_post_message : Tourmaline::Message | Nil
Optional.
-
#suggested_post_message=(suggested_post_message : Tourmaline::Message | Nil)
Optional.
Constructor Detail
def self.new(price : Tourmaline::SuggestedPostPrice, suggested_post_message : Tourmaline::Message | Nil = nil)
#
Instance Method Detail
def suggested_post_message : Tourmaline::Message | Nil
#
Optional. Message containing the suggested post whose approval has failed. 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 whose approval has failed. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.