class Tourmaline::SuggestedPostApprovalFailed

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

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]

Instance Method Detail

Expected price of the post


[View source]
def price=(price : Tourmaline::SuggestedPostPrice) #

Expected price of the post


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


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


[View source]