class TelegramBot::InlineQueryResultVideo
Defined in:
telegram_bot/types/inline/inline_query_result_video.crConstant 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
- .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)
- .new(__temp_455 : JSON::PullParser)
Instance Method Summary
- #caption : String | Nil
- #caption=(_caption : String | Nil)
- #description : String | Nil
- #description=(_description : String | Nil)
- #id : String
- #id=(_id : String)
- #input_message_content : InputMessageContent | Nil
- #input_message_content=(_input_message_content : InputMessageContent | Nil)
- #mime_type : String
- #mime_type=(_mime_type : String)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(_reply_markup : InlineKeyboardMarkup | Nil)
- #thumb_url : String
- #thumb_url=(_thumb_url : String)
- #title : String
- #title=(_title : String)
- #to_json(json : JSON::Builder)
- #type : String
- #type=(_type : String)
- #video_duration : Int32 | Nil
- #video_duration=(_video_duration : Int32 | Nil)
- #video_height : Int32 | Nil
- #video_height=(_video_height : Int32 | Nil)
- #video_url : String
- #video_url=(_video_url : String)
- #video_width : Int32 | Nil
- #video_width=(_video_width : Int32 | Nil)