class TelegramBot::InlineQueryResultVideo

Included Modules

Defined in:

telegram_bot/types/inline/inline_query_result_video.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, video_url : String, mime_type : String, thumb_url : String, title : String, *, caption : Nil | String = nil, parse_mode : Nil | String = nil, video_width : Int32 | Nil = nil, video_height : Int32 | Nil = nil, video_duration : Int32 | Nil = nil, description : Nil | String = nil, reply_markup : Nil | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = nil) #

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

Instance Method Detail

def caption : String | Nil #

def caption=(caption : String | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def id : String #

def id=(id : String) #

def input_message_content : InputMessageContent | Nil #

def input_message_content=(input_message_content : InputMessageContent | Nil) #

def mime_type : String #

Mime type of the content of video url, "text/html" or "video/mp4"


def mime_type=(mime_type : String) #

Mime type of the content of video url, "text/html" or "video/mp4"


def parse_mode : String | Nil #

def parse_mode=(parse_mode : String | Nil) #

def reply_markup : InlineKeyboardMarkup | Nil #

def reply_markup=(reply_markup : InlineKeyboardMarkup | Nil) #

def thumb_url : String #

URL of the thumbnail (jpeg only) for the video


def thumb_url=(thumb_url : String) #

URL of the thumbnail (jpeg only) for the video


def title : String #

def title=(title : String) #

def type : String #

def type=(type : String) #

def video_duration : Int32 | Nil #

def video_duration=(video_duration : Int32 | Nil) #

def video_height : Int32 | Nil #

def video_height=(video_height : Int32 | Nil) #

def video_url : String #

def video_url=(video_url : String) #

def video_width : Int32 | Nil #

def video_width=(video_width : Int32 | Nil) #