struct

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(type _type = @type, width _width = @width, height _height = @height, duration _duration = @duration)
Source
duration
height
type
width