class

Tourmaline::SuggestedPostApproved

Inherits JSON::Serializable < Reference < Object

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

Constructors

new(send_date : Time, suggested_post_message : Tourmaline::Message | Nil = nil, price : Tourmaline::SuggestedPostPrice | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

price

Optional. Amount paid for the post

Source
price=(price : Tourmaline::SuggestedPostPrice | Nil)

Optional. Amount paid for the post

Source
send_date

Date when the post will be published

Source
send_date=(send_date : Time)

Date when the post will be published

Source
suggested_post_message

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.

Source
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.

Source