class TelegramBot::InlineQueryResultVideo

Defined in:

telegram_bot/types/inline/inline_query_result_video.cr

Constant Summary

FIELDS = {type: {type: String, mustbe: "video"}, id: String, video_url: String, mime_type: String, thumb_url: String, title: String, caption: {type: String, nilable: true}, video_width: {type: Int32, nilable: true}, video_height: {type: Int32, nilable: true}, video_duration: {type: Int32, nilable: true}, description: {type: String, nilable: true}, reply_markup: {type: InlineKeyboardMarkup, nilable: true}, input_message_content: {type: InputMessageContent, nilable: true}}

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(__temp_455 : JSON::PullParser) #

[View source]

Instance Method Detail

def caption : String | Nil #

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

[View source]
def description : String | Nil #

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

[View source]
def id : String #

[View source]
def id=(_id : String) #

[View source]
def input_message_content : InputMessageContent | Nil #

[View source]
def input_message_content=(_input_message_content : InputMessageContent | Nil) #

[View source]
def mime_type : String #

[View source]
def mime_type=(_mime_type : String) #

[View source]
def reply_markup : InlineKeyboardMarkup | Nil #

[View source]
def reply_markup=(_reply_markup : InlineKeyboardMarkup | Nil) #

[View source]
def thumb_url : String #

[View source]
def thumb_url=(_thumb_url : String) #

[View source]
def title : String #

[View source]
def title=(_title : String) #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def type : String #

[View source]
def type=(_type : String) #

[View source]
def video_duration : Int32 | Nil #

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

[View source]
def video_height : Int32 | Nil #

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

[View source]
def video_url : String #

[View source]
def video_url=(_video_url : String) #

[View source]
def video_width : Int32 | Nil #

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

[View source]