class TelegramBot::InlineQueryResultMpeg4Gif
Defined in:
telegram_bot/types/inline/inline_query_result_mpeg4_gif.crConstant Summary
-
FIELDS =
{type: {type: String, mustbe: "mpeg4_gif"}, id: String, mpeg4_url: String, mpeg4_width: {type: Int32, nilable: true}, mpeg4_height: {type: Int32, nilable: true}, mpeg4_duration: {type: Int32, nilable: true}, thumb_url: String, title: {type: String, nilable: true}, caption: {type: String, nilable: true}, reply_markup: {type: InlineKeyboardMarkup, nilable: true}, input_message_content: {type: InputMessageContent, nilable: true}}
Constructors
- .new(id : String, mpeg4_url : String, thumb_url : String, mpeg4_width : Int32 | Nil = nil, mpeg4_height : Int32 | Nil = nil, mpeg4_duration : Int32 | Nil = nil, title : String | Nil = nil, caption : String | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil)
- .new(__temp_378 : JSON::PullParser)
Instance Method Summary
- #caption : String | Nil
- #caption=(_caption : String | Nil)
- #id : String
- #id=(_id : String)
- #input_message_content : InputMessageContent | Nil
- #input_message_content=(_input_message_content : InputMessageContent | Nil)
- #mpeg4_duration : Int32 | Nil
- #mpeg4_duration=(_mpeg4_duration : Int32 | Nil)
- #mpeg4_height : Int32 | Nil
- #mpeg4_height=(_mpeg4_height : Int32 | Nil)
- #mpeg4_url : String
- #mpeg4_url=(_mpeg4_url : String)
- #mpeg4_width : Int32 | Nil
- #mpeg4_width=(_mpeg4_width : Int32 | Nil)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(_reply_markup : InlineKeyboardMarkup | Nil)
- #thumb_url : String
- #thumb_url=(_thumb_url : String)
- #title : String | Nil
- #title=(_title : String | Nil)
- #to_json(json : JSON::Builder)
- #type : String
- #type=(_type : String)