Skip to content

InputMediaVideo

class Tourmaline::InputMediaVideo
inherits Reference #

Included modules#

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

.new(media, thumb = nil, caption = nil, parse_mode = nil, caption_entities = [] of MessageEntity, width = nil, height = nil, duration = nil, supports_streaming = nil) #

Methods#

#caption : String? #

#caption=(caption : String?) #

#caption_entities : Array(MessageEntity) #

#caption_entities=(caption_entities : Array(MessageEntity)) #

#duration : Int32? #

#duration=(duration : Int32?) #

#height : Int32? #

#height=(height : Int32?) #

#media : String | File #

#media=(media : String | File) #

#parse_mode : ParseMode? #

#parse_mode=(parse_mode : ParseMode?) #

#supports_streaming : Bool? #

#supports_streaming=(supports_streaming : Bool?) #

#thumb : String | File | Nil #

#thumb=(thumb : String | File | Nil) #

#width : Int32? #

#width=(width : Int32?) #