class Tourmaline::PaidMediaInfo

Overview

Describes the paid media added to a message.

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(star_count : Int32 | Int64, paid_media : Array(Tourmaline::PaidMedia) = [] of Tourmaline::PaidMedia) #

[View source]

Instance Method Detail

def star_count : Int32 | Int64 #

The number of Telegram Stars that must be paid to buy access to the media


[View source]
def star_count=(star_count : Int32 | Int64) #

The number of Telegram Stars that must be paid to buy access to the media


[View source]