class Tourmaline::InputMediaVideo
- Tourmaline::InputMediaVideo
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
tourmaline/models/input_media_video.crConstructors
- .new(pull : JSON::PullParser)
- .new(media : String, thumb : File | String | Nil = nil, caption : String | Nil = nil, parse_mode : String | Nil = nil, width : Int32 | Nil = nil, height : Int32 | Nil = nil, duration : Int32 | Nil = nil, supports_streaming : Bool | Nil = nil)
Instance Method Summary
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #duration : Int32 | Nil
- #duration=(duration : Int32 | Nil)
- #height : Int32 | Nil
- #height=(height : Int32 | Nil)
- #media : String | File
- #media=(media : String | File)
- #parse_mode : String | Nil
- #parse_mode=(parse_mode : String | Nil)
- #supports_streaming : Bool | Nil
- #supports_streaming=(supports_streaming : Bool | Nil)
- #thumb : String | File | Nil
- #thumb=(thumb : String | File | Nil)
- #width : Int32 | Nil
- #width=(width : Int32 | Nil)
Constructor Detail
def self.new(media : String, thumb : File | String | Nil = nil, caption : String | Nil = nil, parse_mode : String | Nil = nil, width : Int32 | Nil = nil, height : Int32 | Nil = nil, duration : Int32 | Nil = nil, supports_streaming : Bool | Nil = nil)
#