Inherits Object.
Contains full information about a user.
Public Fields | |
object_ptr< chatPhoto > | photo_ |
User profile photo; may be null. | |
bool | is_blocked_ |
True, if the user is blocked by the current user. | |
bool | can_be_called_ |
True, if the user can be called. | |
bool | supports_video_calls_ |
True, if a video call can be created with the user. | |
bool | has_private_calls_ |
True, if the user can't be called due to their privacy settings. | |
bool | has_private_forwards_ |
True, if the user can't be linked in forwarded messages due to their privacy settings. | |
bool | need_phone_number_privacy_exception_ |
True, if the current user needs to explicitly allow to share their phone number with the user when the method addContact is used. | |
string | bio_ |
A short user bio. | |
string | share_text_ |
For bots, the text that is shown on the bot's profile page and is sent together with the link when users share the bot. | |
string | description_ |
For bots, the text shown in the chat with the bot if the chat is empty. | |
int32 | group_in_common_count_ |
Number of group chats where both the other user and the current user are a member; 0 for the current user. | |
array< object_ptr< botCommand > > | commands_ |
For bots, list of the bot commands. | |
Public Instance Methods | |
userFullInfo () | |
userFullInfo (object_ptr< chatPhoto > &&photo_, bool is_blocked_, bool can_be_called_, bool supports_video_calls_, bool has_private_calls_, bool has_private_forwards_, bool need_phone_number_privacy_exception_, string const &bio_, string const &share_text_, string const &description_, int32 group_in_common_count_, array< object_ptr< botCommand >> &&commands_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 2138747126 |
Identifier uniquely determining a type of the object. | |
userFullInfo | ( | ) |
Contains full information about a user.
userFullInfo | ( | object_ptr< chatPhoto > && | photo_, |
bool | is_blocked_, | ||
bool | can_be_called_, | ||
bool | supports_video_calls_, | ||
bool | has_private_calls_, | ||
bool | has_private_forwards_, | ||
bool | need_phone_number_privacy_exception_, | ||
string const & | bio_, | ||
string const & | share_text_, | ||
string const & | description_, | ||
int32 | group_in_common_count_, | ||
array< object_ptr< botCommand >> && | commands_ | ||
) |
Contains full information about a user.
[in] | photo_ | User profile photo; may be null. |
[in] | is_blocked_ | True, if the user is blocked by the current user. |
[in] | can_be_called_ | True, if the user can be called. |
[in] | supports_video_calls_ | True, if a video call can be created with the user. |
[in] | has_private_calls_ | True, if the user can't be called due to their privacy settings. |
[in] | has_private_forwards_ | True, if the user can't be linked in forwarded messages due to their privacy settings. |
[in] | need_phone_number_privacy_exception_ | True, if the current user needs to explicitly allow to share their phone number with the user when the method addContact is used. |
[in] | bio_ | A short user bio. |
[in] | share_text_ | For bots, the text that is shown on the bot's profile page and is sent together with the link when users share the bot. |
[in] | description_ | For bots, the text shown in the chat with the bot if the chat is empty. |
[in] | group_in_common_count_ | Number of group chats where both the other user and the current user are a member; 0 for the current user. |
[in] | commands_ | For bots, list of the bot commands. |
|
inlinefinalvirtual |
|
finalvirtual |