class Tourmaline::SuggestedPostApproved

Overview

Describes a service message about the approval 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(send_date : Time, suggested_post_message : Tourmaline::Message | Nil = nil, price : Tourmaline::SuggestedPostPrice | Nil = nil) #

[View source]

Instance Method Detail

def price : Tourmaline::SuggestedPostPrice | Nil #

Optional. Amount paid for the post


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

Optional. Amount paid for the post


[View source]
def send_date : Time #

Date when the post will be published


[View source]
def send_date=(send_date : Time) #

Date when the post will be published


[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]