class
Tourmaline::SuggestedPostDeclined
- Tourmaline::SuggestedPostDeclined
- Reference
- Object
Overview
Describes a service message about the rejection of a suggested post.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(pull : JSON::PullParser)
- .new(suggested_post_message : Tourmaline::Message | Nil = nil, comment : String | Nil = nil)
Instance Method Summary
-
#comment : String | Nil
Optional.
-
#comment=(comment : String | Nil)
Optional.
-
#suggested_post_message : Tourmaline::Message | Nil
Optional.
-
#suggested_post_message=(suggested_post_message : Tourmaline::Message | Nil)
Optional.
Constructor Detail
def self.new(suggested_post_message : Tourmaline::Message | Nil = nil, comment : String | 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.