class Tourmaline::InputMediaVideo
- Tourmaline::InputMediaVideo
- Reference
- Object
Included Modules
- JSON::Serializable
- Tourmaline::Model
Defined in:
tourmaline/models/input_media_video.crConstructors
- .new(pull : JSON::PullParser)
- .new(media : File | String, thumb : File | String | Nil = nil, caption : Nil | String = nil, parse_mode : Tourmaline::ParseMode | Nil = nil, caption_entities : Array(Tourmaline::MessageEntity) = [] of MessageEntity, width : Int32 | Nil = nil, height : Int32 | Nil = nil, duration = nil, supports_streaming : Bool | Nil = nil, has_spoiler : Bool | Nil = nil)
Instance Method Summary
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #caption_entities : Array(MessageEntity)
- #caption_entities=(caption_entities : Array(MessageEntity))
- #duration : Int32 | Nil
- #duration=(duration : Int32 | Nil)
- #has_spoiler=(has_spoiler : Bool | Nil)
- #has_spoiler? : Bool | Nil
- #height : Int32 | Nil
- #height=(height : Int32 | Nil)
- #media : String | File
- #media=(media : String | File)
- #parse_mode : ParseMode | Nil
- #parse_mode=(parse_mode : ParseMode | 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)