tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::userFullInfo Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::userFullInfo:
td::td_api::Object td::TlObject

Public Member Functions

 userFullInfo ()
 
 userFullInfo (object_ptr< chatPhoto > &&personal_photo_, object_ptr< chatPhoto > &&photo_, object_ptr< chatPhoto > &&public_photo_, 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 > &&note_, object_ptr< businessInfo > &&business_info_, object_ptr< botInfo > &&bot_info_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< chatPhotopersonal_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&#x27;t returned in the list of user photos.
 
object_ptr< chatPhotophoto_
 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< chatPhotopublic_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&#x27;t returned in the list of user photos.
 
object_ptr< BlockListblock_list_
 Block list to which the user is added; may be null if none.
 
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&#x27;t be called due to their privacy settings.
 
bool has_private_forwards_
 True, if the user can&#x27;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&#x27;t be sent or forwarded to the user.
 
bool has_posted_to_profile_stories_
 True, if the user has posted to profile stories.
 
bool has_sponsored_messages_enabled_
 True, if the user always enabled sponsored messages; known only for the current user.
 
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.
 
bool set_chat_background_
 True, if the user set chat background for both chat users and it wasn&#x27;t reverted yet.
 
bool uses_unofficial_app_
 True, if the user uses an unofficial application that poses a security risk.
 
object_ptr< formattedTextbio_
 A short user bio; may be null for bots.
 
object_ptr< birthdatebirthdate_
 Birthdate of the user; may be null if unknown.
 
int53 personal_chat_id_
 Identifier of the personal chat of the user; 0 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.
 
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.
 
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.
 
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< giftSettingsgift_settings_
 Settings for gift receiving for the user.
 
object_ptr< botVerificationbot_verification_
 Information about verification status of the user provided by a bot; may be null if none or unknown.
 
object_ptr< ProfileTabmain_profile_tab_
 The main tab chosen by the user; may be null if not chosen manually.
 
object_ptr< audiofirst_profile_audio_
 The first audio file added to the user&#x27;s profile; may be null if none.
 
object_ptr< userRatingrating_
 The current rating of the user; may be null if none.
 
object_ptr< userRatingpending_rating_
 The rating of the user after the next change; may be null if the user isn&#x27;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&#x27;t the current user or there are no pending rating changes.
 
object_ptr< formattedTextnote_
 Note added to the user&#x27;s contact; may be null if none.
 
object_ptr< businessInfobusiness_info_
 Information about business settings for Telegram Business accounts; may be null if none.
 
object_ptr< botInfobot_info_
 For bots, information about the bot; may be null if the user isn&#x27;t a bot.
 

Static Public Attributes

static const std::int32_t ID = -1176229971
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains full information about a user.

Definition at line 84901 of file td_api.h.

Constructor & Destructor Documentation

◆ userFullInfo() [1/2]

td::td_api::userFullInfo::userFullInfo ( )

Contains full information about a user.

◆ userFullInfo() [2/2]

td::td_api::userFullInfo::userFullInfo ( object_ptr< chatPhoto > &&  personal_photo_,
object_ptr< chatPhoto > &&  photo_,
object_ptr< chatPhoto > &&  public_photo_,
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 > &&  note_,
object_ptr< businessInfo > &&  business_info_,
object_ptr< botInfo > &&  bot_info_ 
)

Contains full information about a user.

Parameters
[in]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&#x27;t returned in the list of user photos.
[in]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.
[in]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&#x27;t returned in the list of user photos.
[in]block_list_Block list to which the user is added; may be null if none.
[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&#x27;t be called due to their privacy settings.
[in]has_private_forwards_True, if the user can&#x27;t be linked in forwarded messages due to their privacy settings.
[in]has_restricted_voice_and_video_note_messages_True, if voice and video notes can&#x27;t be sent or forwarded to the user.
[in]has_posted_to_profile_stories_True, if the user has posted to profile stories.
[in]has_sponsored_messages_enabled_True, if the user always enabled sponsored messages; known only for the current user.
[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]set_chat_background_True, if the user set chat background for both chat users and it wasn&#x27;t reverted yet.
[in]uses_unofficial_app_True, if the user uses an unofficial application that poses a security risk.
[in]bio_A short user bio; may be null for bots.
[in]birthdate_Birthdate of the user; may be null if unknown.
[in]personal_chat_id_Identifier of the personal chat of the user; 0 if none.
[in]gift_count_Number of saved to profile gifts for other users or the total number of received gifts for the current user.
[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]incoming_paid_message_star_count_Number of Telegram Stars that must be paid by the user for each sent message to the current user.
[in]outgoing_paid_message_star_count_Number of Telegram Stars that must be paid by the current user for each sent message to the user.
[in]gift_settings_Settings for gift receiving for the user.
[in]bot_verification_Information about verification status of the user provided by a bot; may be null if none or unknown.
[in]main_profile_tab_The main tab chosen by the user; may be null if not chosen manually.
[in]first_profile_audio_The first audio file added to the user&#x27;s profile; may be null if none.
[in]rating_The current rating of the user; may be null if none.
[in]pending_rating_The rating of the user after the next change; may be null if the user isn&#x27;t the current user or there are no pending rating changes.
[in]pending_rating_date_Unix timestamp when rating of the user will change to pending_rating; 0 if the user isn&#x27;t the current user or there are no pending rating changes.
[in]note_Note added to the user&#x27;s contact; may be null if none.
[in]business_info_Information about business settings for Telegram Business accounts; may be null if none.
[in]bot_info_For bots, information about the bot; may be null if the user isn&#x27;t a bot.

Member Function Documentation

◆ store()

void td::td_api::userFullInfo::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ bio_

object_ptr<formattedText> td::td_api::userFullInfo::bio_

A short user bio; may be null for bots.

Definition at line 84940 of file td_api.h.

◆ birthdate_

object_ptr<birthdate> td::td_api::userFullInfo::birthdate_

Birthdate of the user; may be null if unknown.

Definition at line 84942 of file td_api.h.

◆ block_list_

object_ptr<BlockList> td::td_api::userFullInfo::block_list_

Block list to which the user is added; may be null if none.

Definition at line 84918 of file td_api.h.

◆ bot_info_

object_ptr<botInfo> td::td_api::userFullInfo::bot_info_

For bots, information about the bot; may be null if the user isn&#x27;t a bot.

Definition at line 84972 of file td_api.h.

◆ bot_verification_

object_ptr<botVerification> td::td_api::userFullInfo::bot_verification_

Information about verification status of the user provided by a bot; may be null if none or unknown.

Definition at line 84956 of file td_api.h.

◆ business_info_

object_ptr<businessInfo> td::td_api::userFullInfo::business_info_

Information about business settings for Telegram Business accounts; may be null if none.

Definition at line 84970 of file td_api.h.

◆ can_be_called_

bool td::td_api::userFullInfo::can_be_called_

True, if the user can be called.

Definition at line 84920 of file td_api.h.

◆ first_profile_audio_

object_ptr<audio> td::td_api::userFullInfo::first_profile_audio_

The first audio file added to the user&#x27;s profile; may be null if none.

Definition at line 84960 of file td_api.h.

◆ gift_count_

int32 td::td_api::userFullInfo::gift_count_

Number of saved to profile gifts for other users or the total number of received gifts for the current user.

Definition at line 84946 of file td_api.h.

◆ gift_settings_

object_ptr<giftSettings> td::td_api::userFullInfo::gift_settings_

Settings for gift receiving for the user.

Definition at line 84954 of file td_api.h.

◆ group_in_common_count_

int32 td::td_api::userFullInfo::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.

Definition at line 84948 of file td_api.h.

◆ has_posted_to_profile_stories_

bool td::td_api::userFullInfo::has_posted_to_profile_stories_

True, if the user has posted to profile stories.

Definition at line 84930 of file td_api.h.

◆ has_private_calls_

bool td::td_api::userFullInfo::has_private_calls_

True, if the user can&#x27;t be called due to their privacy settings.

Definition at line 84924 of file td_api.h.

◆ has_private_forwards_

bool td::td_api::userFullInfo::has_private_forwards_

True, if the user can&#x27;t be linked in forwarded messages due to their privacy settings.

Definition at line 84926 of file td_api.h.

◆ has_restricted_voice_and_video_note_messages_

bool td::td_api::userFullInfo::has_restricted_voice_and_video_note_messages_

True, if voice and video notes can&#x27;t be sent or forwarded to the user.

Definition at line 84928 of file td_api.h.

◆ has_sponsored_messages_enabled_

bool td::td_api::userFullInfo::has_sponsored_messages_enabled_

True, if the user always enabled sponsored messages; known only for the current user.

Definition at line 84932 of file td_api.h.

◆ ID

const std::int32_t td::td_api::userFullInfo::ID = -1176229971
static

Identifier uniquely determining a type of the object.

Definition at line 85017 of file td_api.h.

◆ incoming_paid_message_star_count_

int53 td::td_api::userFullInfo::incoming_paid_message_star_count_

Number of Telegram Stars that must be paid by the user for each sent message to the current user.

Definition at line 84950 of file td_api.h.

◆ main_profile_tab_

object_ptr<ProfileTab> td::td_api::userFullInfo::main_profile_tab_

The main tab chosen by the user; may be null if not chosen manually.

Definition at line 84958 of file td_api.h.

◆ need_phone_number_privacy_exception_

bool td::td_api::userFullInfo::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.

Definition at line 84934 of file td_api.h.

◆ note_

object_ptr<formattedText> td::td_api::userFullInfo::note_

Note added to the user&#x27;s contact; may be null if none.

Definition at line 84968 of file td_api.h.

◆ outgoing_paid_message_star_count_

int53 td::td_api::userFullInfo::outgoing_paid_message_star_count_

Number of Telegram Stars that must be paid by the current user for each sent message to the user.

Definition at line 84952 of file td_api.h.

◆ pending_rating_

object_ptr<userRating> td::td_api::userFullInfo::pending_rating_

The rating of the user after the next change; may be null if the user isn&#x27;t the current user or there are no pending rating changes.

Definition at line 84964 of file td_api.h.

◆ pending_rating_date_

int32 td::td_api::userFullInfo::pending_rating_date_

Unix timestamp when rating of the user will change to pending_rating; 0 if the user isn&#x27;t the current user or there are no pending rating changes.

Definition at line 84966 of file td_api.h.

◆ personal_chat_id_

int53 td::td_api::userFullInfo::personal_chat_id_

Identifier of the personal chat of the user; 0 if none.

Definition at line 84944 of file td_api.h.

◆ personal_photo_

object_ptr<chatPhoto> td::td_api::userFullInfo::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&#x27;t returned in the list of user photos.

Definition at line 84912 of file td_api.h.

◆ photo_

object_ptr<chatPhoto> td::td_api::userFullInfo::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.

Definition at line 84914 of file td_api.h.

◆ public_photo_

object_ptr<chatPhoto> td::td_api::userFullInfo::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&#x27;t returned in the list of user photos.

Definition at line 84916 of file td_api.h.

◆ rating_

object_ptr<userRating> td::td_api::userFullInfo::rating_

The current rating of the user; may be null if none.

Definition at line 84962 of file td_api.h.

◆ set_chat_background_

bool td::td_api::userFullInfo::set_chat_background_

True, if the user set chat background for both chat users and it wasn&#x27;t reverted yet.

Definition at line 84936 of file td_api.h.

◆ supports_video_calls_

bool td::td_api::userFullInfo::supports_video_calls_

True, if a video call can be created with the user.

Definition at line 84922 of file td_api.h.

◆ uses_unofficial_app_

bool td::td_api::userFullInfo::uses_unofficial_app_

True, if the user uses an unofficial application that poses a security risk.

Definition at line 84938 of file td_api.h.


The documentation for this class was generated from the following file: