This object represents a phone contact.
More...
#include <Types.h>
|
| std::string | phoneNumber { } |
| | Contact's phone number.
|
| std::string | firstName { } |
| | Contact's first name.
|
| std::optional< std::string > | lastName { } |
| | Optional. Contact's last name.
|
| std::optional< std::int64_t > | userId { } |
| | Optional. Contact's user identifier in Telegram. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double- precision float type are safe for storing this identifier.
|
| std::optional< std::string > | vcard { } |
| | Optional. Additional data about the contact in the form of a vCard.
|
This object represents a phone contact.
Definition at line 3205 of file Types.h.
◆ Ptr
◆ firstName
| std::string TgBot::Contact::firstName { } |
◆ lastName
| std::optional<std::string> TgBot::Contact::lastName { } |
◆ phoneNumber
| std::string TgBot::Contact::phoneNumber { } |
◆ userId
| std::optional<std::int64_t> TgBot::Contact::userId { } |
Optional. Contact's user identifier in Telegram. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double- precision float type are safe for storing this identifier.
Definition at line 3229 of file Types.h.
◆ vcard
| std::optional<std::string> TgBot::Contact::vcard { } |
Optional. Additional data about the contact in the form of a vCard.
Definition at line 3234 of file Types.h.
The documentation for this struct was generated from the following file: