class Tourmaline::SuggestedPostDeclined

Overview

Describes a service message about the rejection of a suggested post.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(suggested_post_message : Tourmaline::Message | Nil = nil, comment : String | Nil = nil) #

[View source]

Instance Method Detail

def comment : String | Nil #

Optional. Comment with which the post was declined


[View source]
def comment=(comment : String | Nil) #

Optional. Comment with which the post was declined


[View source]
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.


[View source]
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.


[View source]