Skip to content

InlineQueryResultContact

class Tourmaline::InlineQueryResultContact
inherits Tourmaline::InlineQueryResult #

Class methods#

.new(id, phone_number, first_name, last_name = nil, user_id = nil, reply_markup = nil, input_message_content = nil, thumb_url = nil, thumb_width = nil, thumb_height = nil) #

.new(pull : JSON::PullParser) #

Methods#

#first_name : String #

#id : String #

#input_message_content : InputMessageContent? #

#last_name : String? #

#phone_number : String #

#reply_markup : InlineKeyboardMarkup? #

#thumb_height : Int32? #

#thumb_url : String? #

#thumb_width : Int32? #

#type : String #

#user_id : Int32? #