class Tourmaline::InlineQueryResultContact
Defined in:
tourmaline/models/inline/inline_query_result_contact.crConstructors
- .new(id : String, phone_number : String, first_name : String, last_name : Nil | String = nil, user_id : Int32 | Nil = nil, reply_markup : Nil | Tourmaline::InlineKeyboardMarkup = nil, input_message_content : Tourmaline::InputContactMessageContent | Tourmaline::InputInvoiceMessageContent | Tourmaline::InputLocationMessageContent | Tourmaline::InputTextMessageContent | Tourmaline::InputVenueMessageContent | Nil = nil, thumb_url : Nil | String = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #first_name : String
- #id : String
- #input_message_content : InputMessageContent | Nil
- #last_name : String | Nil
- #phone_number : String
- #reply_markup : InlineKeyboardMarkup | Nil
- #thumb_height : Int32 | Nil
- #thumb_url : String | Nil
- #thumb_width : Int32 | Nil
- #type : String
- #user_id : Int32 | Nil
Constructor methods inherited from class Tourmaline::InlineQueryResult
new(pull : JSON::PullParser)
new
Class methods inherited from class Tourmaline::InlineQueryResult
build(&)
build
Instance methods inherited from module Tourmaline::Model
client : Tourmaline::Client
client,
client=(client : Tourmaline::Client)
client=,
client? : Tourmaline::Client | Nil
client?,
finish_init(client : Tourmaline::Client)
finish_init
Constructor Detail
def self.new(id : String, phone_number : String, first_name : String, last_name : Nil | String = nil, user_id : Int32 | Nil = nil, reply_markup : Nil | Tourmaline::InlineKeyboardMarkup = nil, input_message_content : Tourmaline::InputContactMessageContent | Tourmaline::InputInvoiceMessageContent | Tourmaline::InputLocationMessageContent | Tourmaline::InputTextMessageContent | Tourmaline::InputVenueMessageContent | Nil = nil, thumb_url : Nil | String = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil)
#