Contains full information about a user.
|
| void | store (TlStorerToString &s, const char *field_name) const final |
| | userFullInfo () |
| | userFullInfo (object_ptr< chatPhoto > &&personal_photo_, object_ptr< chatPhoto > &&photo_, object_ptr< chatPhoto > &&public_photo_, int53 community_id_, object_ptr< BlockList > &&block_list_, bool can_be_called_, bool supports_video_calls_, bool has_private_calls_, bool has_private_forwards_, bool has_restricted_voice_and_video_note_messages_, bool has_posted_to_profile_stories_, bool has_sponsored_messages_enabled_, bool need_phone_number_privacy_exception_, bool set_chat_background_, bool uses_unofficial_app_, object_ptr< formattedText > &&bio_, object_ptr< birthdate > &&birthdate_, int53 personal_chat_id_, int32 gift_count_, int32 group_in_common_count_, int53 incoming_paid_message_star_count_, int53 outgoing_paid_message_star_count_, object_ptr< giftSettings > &&gift_settings_, object_ptr< botVerification > &&bot_verification_, object_ptr< ProfileTab > &&main_profile_tab_, object_ptr< audio > &&first_profile_audio_, object_ptr< userRating > &&rating_, object_ptr< userRating > &&pending_rating_, int32 pending_rating_date_, object_ptr< formattedText > &¬e_, object_ptr< businessInfo > &&business_info_, object_ptr< botInfo > &&bot_info_) |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| | TlObject ()=default |
| | TlObject (const TlObject &)=delete |
| | TlObject (TlObject &&)=default |
| virtual | ~TlObject ()=default |
|
|
object_ptr< formattedText > | bio_ |
| | A short user bio; may be null for bots.
|
|
object_ptr< birthdate > | birthdate_ |
| | Birthdate of the user; may be null if unknown.
|
|
object_ptr< BlockList > | block_list_ |
| | Block list to which the user is added; may be null if none.
|
|
object_ptr< botInfo > | bot_info_ |
| | For bots, information about the bot; may be null if the user isn't a bot.
|
|
object_ptr< botVerification > | bot_verification_ |
| | Information about verification status of the user provided by a bot; may be null if none or unknown.
|
|
object_ptr< businessInfo > | business_info_ |
| | Information about business settings for Telegram Business accounts; may be null if none.
|
|
bool | can_be_called_ |
| | True, if the user can be called.
|
|
int53 | community_id_ |
| | Identifier of the community to which chat with the bot was added; for bots only.
|
|
object_ptr< audio > | first_profile_audio_ |
| | The first audio file added to the user's profile; may be null if none.
|
|
int32 | gift_count_ |
| | Number of saved to profile gifts for other users or the total number of received gifts for the current user.
|
|
object_ptr< giftSettings > | gift_settings_ |
| | Settings for gift receiving for the user.
|
|
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.
|
|
bool | has_posted_to_profile_stories_ |
| | True, if the user has posted to profile stories.
|
|
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 | has_restricted_voice_and_video_note_messages_ |
| | True, if voice and video notes can't be sent or forwarded to the user.
|
|
bool | has_sponsored_messages_enabled_ |
| | True, if the user always enabled sponsored messages; known only for the current user.
|
|
int53 | incoming_paid_message_star_count_ |
| | Number of Telegram Stars that must be paid by the user for each sent message to the current user.
|
|
object_ptr< ProfileTab > | main_profile_tab_ |
| | The main tab chosen by the user; may be null if not chosen manually.
|
|
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.
|
|
object_ptr< formattedText > | note_ |
| | Note added to the user's contact; may be null if none.
|
|
int53 | outgoing_paid_message_star_count_ |
| | Number of Telegram Stars that must be paid by the current user for each sent message to the user.
|
|
object_ptr< userRating > | pending_rating_ |
| | The rating of the user after the next change; may be null if the user isn't the current user or there are no pending rating changes.
|
|
int32 | pending_rating_date_ |
| | Unix timestamp when rating of the user will change to pending_rating; 0 if the user isn't the current user or there are no pending rating changes.
|
|
int53 | personal_chat_id_ |
| | Identifier of the personal chat of the user; 0 if none.
|
|
object_ptr< chatPhoto > | personal_photo_ |
| | User profile photo set by the current user for the contact; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown. If non-null, then it is the same photo as in user.profile_photo and chat.photo. This photo isn't returned in the list of user photos.
|
|
object_ptr< chatPhoto > | photo_ |
| | User profile photo; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown. If non-null and personal_photo is null, then it is the same photo as in user.profile_photo and chat.photo.
|
|
object_ptr< chatPhoto > | public_photo_ |
| | User profile photo visible if the main photo is hidden by privacy settings; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown. If non-null and both photo and personal_photo are null, then it is the same photo as in user.profile_photo and chat.photo. This photo isn't returned in the list of user photos.
|
|
object_ptr< userRating > | rating_ |
| | The current rating of the user; may be null if none.
|
|
bool | set_chat_background_ |
| | True, if the user set chat background for both chat users and it wasn't reverted yet.
|
|
bool | supports_video_calls_ |
| | True, if a video call can be created with the user.
|
|
bool | uses_unofficial_app_ |
| | True, if the user uses an unofficial application that poses a security risk.
|