Telegram::PaidMediaPreview
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: PaidMediaPreview The paid media isn't available before the payment.
Constructors
new(type : String, width : Int64 | Nil = nil, height : Int64 | Nil = nil, duration : Int64 | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(type _type = @type, width _width = @width, height _height = @height, duration _duration = @duration)
Sourceduration
height
type
width