class TelegramBot::Models::Contact
- TelegramBot::Models::Contact
- TelegramBot::Models::Base
- Reference
- Object
Overview
https://core.telegram.org/bots/api#contact
Defined in:
telegram_bot/models.crConstructors
-
.new(pull : JSON::PullParser)
https://core.telegram.org/bots/api#contact
Instance Method Summary
- #first_name : String
- #first_name=(first_name : String)
- #last_name : String | Nil
- #last_name=(last_name : String | Nil)
- #phone_number : String
- #phone_number=(phone_number : String)
- #user_id : Int32 | Nil
- #user_id=(user_id : Int32 | Nil)
- #vcard : String | Nil
- #vcard=(vcard : String | Nil)