class Tourmaline::InputMediaVideo

Included Modules

Defined in:

tourmaline/models/input_media_video.cr

Constructors

Instance Method Summary

Instance methods inherited from module Tourmaline::Model

client : Tourmaline::Client client, client=(client : Tourmaline::Client) client=, client? : Tourmaline::Client | Nil client?, finish_init(client : Tourmaline::Client) finish_init

Constructor Detail

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

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

[View source]

Instance Method Detail

def caption : String | Nil #

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

[View source]
def caption_entities : Array(MessageEntity) #

[View source]
def caption_entities=(caption_entities : Array(MessageEntity)) #

[View source]
def duration : Int32 | Nil #

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

[View source]
def height : Int32 | Nil #

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

[View source]
def media : String | File #

[View source]
def media=(media : String | File) #

[View source]
def parse_mode : ParseMode | Nil #

[View source]
def parse_mode=(parse_mode : ParseMode | Nil) #

[View source]
def supports_streaming : Bool | Nil #

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

[View source]
def thumb : String | File | Nil #

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

[View source]
def width : Int32 | Nil #

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

[View source]