class TelegramBot::Models::InputMediaVideo
- TelegramBot::Models::InputMediaVideo
- TelegramBot::Models::InputMedia
- TelegramBot::Models::Base
- Reference
- Object
Overview
https://core.telegram.org/bots/api#inputmediavideo
Defined in:
telegram_bot/models.crConstructors
-
.new(pull : JSON::PullParser)
https://core.telegram.org/bots/api#inputmediavideo
- .new(media : String, caption : String | Nil = nil, parse_mode : ParseMode | String | Nil = nil, caption_entities : Array(MessageEntity) | Nil = nil, thumb : String | Nil = nil, width : Int64 | Nil = nil, height : Int64 | Nil = nil, duration : Int64 | Nil = nil, supports_streaming : Bool | Nil = nil)
Instance Method Summary
- #duration : Int64 | Nil
- #duration=(duration : Int64 | Nil)
- #height : Int64 | Nil
- #height=(height : Int64 | Nil)
- #supports_streaming : Bool | Nil
- #supports_streaming=(supports_streaming : Bool | Nil)
- #thumb : String | Nil
- #thumb=(thumb : String | Nil)
- #width : Int64 | Nil
- #width=(width : Int64 | Nil)
Instance methods inherited from class TelegramBot::Models::InputMedia
caption : String | Nil
caption,
caption=(caption : String | Nil)
caption=,
caption_entities : Array(MessageEntity) | Nil
caption_entities,
caption_entities=(caption_entities : Array(MessageEntity) | Nil)
caption_entities=,
media : String
media,
media=(media : String)
media=,
parse_mode : ParseMode | String | Nil
parse_mode,
parse_mode=(parse_mode : ParseMode | String | Nil)
parse_mode=,
type : String
type,
type=(type : String)
type=
Constructor methods inherited from class TelegramBot::Models::InputMedia
new(type : String, media : String, caption : String | Nil = nil, parse_mode : ParseMode | String | Nil = nil, caption_entities : Array(MessageEntity) | Nil = nil)new(pull : JSON::PullParser) new