class
Hamilton::Types::InputContactMessageContent
- Hamilton::Types::InputContactMessageContent
- Reference
- Object
Overview
Represents the content of a contact message to be sent as the result of an inline query.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/input_message_content.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#first_name : String
Contact's first name.
-
#first_name=(first_name : String)
Contact's first name.
-
#last_name : String | Nil
Contact's last name.
-
#last_name=(last_name : String | Nil)
Contact's last name.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#phone_number : String
Contact's phone number.
-
#phone_number=(phone_number : String)
Contact's phone number.
-
#vcard : String | Nil
Additional data about the contact in the form of a vCard, 0-2048 bytes.
-
#vcard=(vcard : String | Nil)
Additional data about the contact in the form of a vCard, 0-2048 bytes.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def vcard=(vcard : String | Nil)
#
Additional data about the contact in the form of a vCard, 0-2048 bytes.