class

Tourmaline::SuggestedPostApprovalFailed

Inherits JSON::Serializable < Reference < Object

Describes a service message about the failed approval of a suggested post. Currently, only caused by insufficient user funds at the time of approval.

Constructors

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

Instance methods

price

Expected price of the post

Source

Expected price of the post

Source
suggested_post_message

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.

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

Source