struct

Telegram::InputPaidMediaVideo

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: InputPaidMediaVideo The paid media to send is a video.

Constructors

new(type : String, media : String, thumbnail : String | Nil = nil, cover : String | Nil = nil, start_timestamp : Int64 | Nil = nil, width : Int64 | Nil = nil, height : Int64 | Nil = nil, duration : Int64 | Nil = nil, supports_streaming : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(type _type = @type, media _media = @media, thumbnail _thumbnail = @thumbnail, cover _cover = @cover, start_timestamp _start_timestamp = @start_timestamp, width _width = @width, height _height = @height, duration _duration = @duration, supports_streaming _supports_streaming = @supports_streaming)
Source
cover
duration
height
media
start_timestamp
supports_streaming
thumbnail
type
width