InputContactMessageContent
class InputContactMessageContent implements InputMessageContentInterface
Represents the content of a contact message to be sent as the result of an inline query.
Methods
__construct(string $phone_number, string $first_name, string|null $last_name = null, string|null $vcard = null)
No description
string
getPhoneNumber()
Contact's phone number.
string
getFirstName()
Contact's first name.
string|null
getLastName()
Optional. Contact's last name.
string|null
getVcard()
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.
Details
at line 16
__construct(string $phone_number, string $first_name, string|null $last_name = null, string|null $vcard = null)
No description
at line 27
string
getPhoneNumber()
Contact's phone number.
at line 35
string
getFirstName()
Contact's first name.
at line 43
string|null
getLastName()
Optional. Contact's last name.
at line 51
string|null
getVcard()
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.