class

Tourmaline::PaidMediaInfo

Inherits JSON::Serializable < Reference < Object

Describes the paid media added to a message.

Constructors

new(star_count : Int32 | Int64, paid_media : Array(Tourmaline::PaidMedia) = [] of Tourmaline::PaidMedia)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

star_count

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

Source
star_count=(star_count : Int32 | Int64)

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

Source