class TelegramBot::InlineQueryResultVenue

Defined in:

telegram_bot/types/inline/inline_query_result_venue.cr

Constant 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

Instance Method Summary

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) #

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

[View source]

Instance Method Detail

def address : String #

[View source]
def address=(_address : String) #

[View source]
def foursquare_id : String | Nil #

[View source]
def foursquare_id=(_foursquare_id : 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 latitude : Float64 #

[View source]
def latitude=(_latitude : Float64) #

[View source]
def longitude : Float64 #

[View source]
def longitude=(_longitude : Float64) #

[View source]
def reply_markup : InlineKeyboardMarkup | Nil #

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

[View source]
def thumb_height : Int32 | Nil #

[View source]
def thumb_height=(_thumb_height : Int32 | Nil) #

[View source]
def thumb_url : String | Nil #

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

[View source]
def thumb_width : Int32 | Nil #

[View source]
def thumb_width=(_thumb_width : Int32 | Nil) #

[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]