class TelegramBot::InlineQueryResultVenue

Included Modules

Defined in:

telegram_bot/types/inline/inline_query_result_venue.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::InlineQueryResult

to_json(json : JSON::Builder) to_json

Constructor Detail

def self.new(id : String, latitude : Float64, longitude : Float64, title : String, address : String, *, foursquare_id : String | Nil = nil, foursquare_type : String | Nil = nil, google_place_id : String | Nil = nil, google_place_type : String | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil, thumbnail_url : String | Nil = nil, thumbnail_width : Int32 | Nil = nil, thumbnail_height : Int32 | Nil = nil) #

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def address : String #

def address=(address : String) #

def foursquare_id : String | Nil #

def foursquare_id=(foursquare_id : String | Nil) #

def foursquare_type : String | Nil #

def foursquare_type=(foursquare_type : String | Nil) #

def google_place_id : String | Nil #

def google_place_id=(google_place_id : String | Nil) #

def google_place_type : String | Nil #

def google_place_type=(google_place_type : String | Nil) #

def id : String #

def id=(id : String) #

def input_message_content : InputMessageContent | Nil #

def input_message_content=(input_message_content : InputMessageContent | Nil) #

def latitude : Float64 #

def latitude=(latitude : Float64) #

def longitude : Float64 #

def longitude=(longitude : Float64) #

def reply_markup : InlineKeyboardMarkup | Nil #

def reply_markup=(reply_markup : InlineKeyboardMarkup | Nil) #

def thumbnail_height : Int32 | Nil #

def thumbnail_height=(thumbnail_height : Int32 | Nil) #

def thumbnail_url : String | Nil #

def thumbnail_url=(thumbnail_url : String | Nil) #

def thumbnail_width : Int32 | Nil #

def thumbnail_width=(thumbnail_width : Int32 | Nil) #

def title : String #

def title=(title : String) #

def type : String #

def type=(type : String) #