class Tourmaline::InlineQueryResultLocation

Defined in:

tourmaline/models/inline/inline_query_result_location.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Tourmaline::InlineQueryResult

new(pull : JSON::PullParser) new

Class methods inherited from class Tourmaline::InlineQueryResult

build(&) build

Constructor Detail

def self.new(id : String, latitude : Float64, longitude : Float64, title : String, live_period : Int32 | Nil = nil, reply_markup : Nil | Tourmaline::InlineKeyboardMarkup = nil, input_message_content : Tourmaline::InputContactMessageContent | Tourmaline::InputInvoiceMessageContent | Tourmaline::InputLocationMessageContent | Tourmaline::InputTextMessageContent | Tourmaline::InputVenueMessageContent | Nil = nil, thumbnail_url : Nil | String = nil, thumbnail_width : Int32 | Nil = nil, thumbnail_height : Int32 | Nil = nil) #

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

[View source]

Instance Method Detail

def heading : Int32 | Nil #

[View source]
def horizontal_accuracy : Int32 | Nil #

[View source]
def id : String #

[View source]
def input_message_content : InputMessageContent | Nil #

[View source]
def latitude : Float64 #

[View source]
def live_period : Int32 | Nil #

[View source]
def longitude : Float64 #

[View source]
def proximity_alert_radius : Int32 | Nil #

[View source]
def reply_markup : InlineKeyboardMarkup | Nil #

[View source]
def thumbnail_height : Int32 | Nil #

[View source]
def thumbnail_url : String | Nil #

[View source]
def thumbnail_width : Int32 | Nil #

[View source]
def title : String #

[View source]
def type : String #

[View source]