class TelegramBot::InlineQueryResultLocation

Included Modules

Defined in:

telegram_bot/types/inline/inline_query_result_location.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, latitude : Float64, longitude : Float64, title : String, *, live_period : Int32 | Nil = nil, reply_markup : Nil | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = nil, thumb_url : Nil | String = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil) #

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

Instance Method Detail

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 live_period : Int32 | Nil #

def live_period=(live_period : Int32 | Nil) #

def longitude : Float64 #

def longitude=(longitude : Float64) #

def reply_markup : InlineKeyboardMarkup | Nil #

def reply_markup=(reply_markup : InlineKeyboardMarkup | Nil) #

def thumb_height : Int32 | Nil #

def thumb_height=(thumb_height : Int32 | Nil) #

def thumb_url : String | Nil #

def thumb_url=(thumb_url : String | Nil) #

def thumb_width : Int32 | Nil #

def thumb_width=(thumb_width : Int32 | Nil) #

def title : String #

def title=(title : String) #

def type : String #

def type=(type : String) #