class TelegramBot::Models::InputMediaVideo

Overview

https://core.telegram.org/bots/api#inputmediavideo

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

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

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

https://core.telegram.org/bots/api#inputmediavideo


[View source]
def self.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) #

[View source]

Instance Method Detail

def duration : Int64 | Nil #

[View source]
def duration=(duration : Int64 | Nil) #

[View source]
def height : Int64 | Nil #

[View source]
def height=(height : Int64 | Nil) #

[View source]
def supports_streaming : Bool | Nil #

[View source]
def supports_streaming=(supports_streaming : Bool | Nil) #

[View source]
def thumb : String | Nil #

[View source]
def thumb=(thumb : String | Nil) #

[View source]
def width : Int64 | Nil #

[View source]
def width=(width : Int64 | Nil) #

[View source]