Tourmaline::PaidMediaPreview
Inherits JSON::Serializable < Reference < Object
The paid media isn't available before the payment.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type : String, width : Int32 | Int64 | Nil = nil, height : Int32 | Int64 | Nil = nil, duration : Int32 | Int64 | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Optional. Duration of the media in seconds as defined by the sender