class TelegramBot::InlineQueryResultVenue
Defined in:
telegram_bot/types/inline/inline_query_result_venue.crConstant Summary
-
FIELDS =
{type: {type: String, mustbe: "venue"}, id: String, latitude: Float64, longitude: Float64, title: String, address: String, foursquare_id: {type: String, nilable: true}, reply_markup: {type: InlineKeyboardMarkup, nilable: true}, input_message_content: {type: InputMessageContent, nilable: true}, thumb_url: {type: String, nilable: true}, thumb_width: {type: Int32, nilable: true}, thumb_height: {type: Int32, nilable: true}}
Constructors
- .new(id : String, latitude : Float64, longitude : Float64, title : String, address : String, foursquare_id : String | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil, thumb_url : String | Nil = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil)
- .new(__temp_428 : JSON::PullParser)
Instance Method Summary
- #address : String
- #address=(_address : String)
- #foursquare_id : String | Nil
- #foursquare_id=(_foursquare_id : String | Nil)
- #id : String
- #id=(_id : String)
- #input_message_content : InputMessageContent | Nil
- #input_message_content=(_input_message_content : InputMessageContent | Nil)
- #latitude : Float64
- #latitude=(_latitude : Float64)
- #longitude : Float64
- #longitude=(_longitude : Float64)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(_reply_markup : InlineKeyboardMarkup | Nil)
- #thumb_height : Int32 | Nil
- #thumb_height=(_thumb_height : Int32 | Nil)
- #thumb_url : String | Nil
- #thumb_url=(_thumb_url : String | Nil)
- #thumb_width : Int32 | Nil
- #thumb_width=(_thumb_width : Int32 | Nil)
- #title : String
- #title=(_title : String)
- #to_json(json : JSON::Builder)
- #type : String
- #type=(_type : String)
Constructor Detail
def self.new(id : String, latitude : Float64, longitude : Float64, title : String, address : String, foursquare_id : String | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil, thumb_url : String | Nil = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil)
#