Tourmaline::InlineQueryResultContact
Inherits JSON::Serializable / Reference / Object
Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact. Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
Constructors
new(id : String, phone_number : String, first_name : String, type : String = "contact", last_name : String | Nil = nil, vcard : String | Nil = nil, reply_markup : Tourmaline::InlineKeyboardMarkup | Nil = nil, input_message_content : Tourmaline::InputMessageContent | Nil = nil, thumbnail_url : String | Nil = nil, thumbnail_width : Int32 | Int64 | Nil = nil, thumbnail_height : Int32 | Int64 | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Optional. Content of the message to be sent instead of the contact
Optional. Inline keyboard attached to the message