Interface UserFullInfo

Contains full information about a user.

interface UserFullInfo {
    @type: "userFullInfo";
    bio: FormattedText;
    birthdate: Birthdate;
    block_list: BlockList;
    bot_info: BotInfo;
    business_info: BusinessInfo;
    can_be_called?: boolean;
    gift_count: number;
    group_in_common_count: number;
    has_posted_to_profile_stories?: boolean;
    has_private_calls?: boolean;
    has_private_forwards?: boolean;
    has_restricted_voice_and_video_note_messages?: boolean;
    has_sponsored_messages_enabled?: boolean;
    need_phone_number_privacy_exception?: boolean;
    personal_chat_id: number;
    personal_photo: ChatPhoto;
    photo: ChatPhoto;
    public_photo: ChatPhoto;
    set_chat_background?: boolean;
    supports_video_calls?: boolean;
}

Properties

@type: "userFullInfo"

A short user bio; may be null for bots.

birthdate: Birthdate

Birthdate of the user; may be null if unknown.

block_list: BlockList

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

bot_info: BotInfo

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

business_info: BusinessInfo

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

can_be_called?: boolean

True, if the user can be called.

gift_count: number

Number of gifts saved to profile by the user.

group_in_common_count: number

Number of group chats where both the other user and the current user are a member; 0 for the current user.

has_posted_to_profile_stories?: boolean

True, if the user has posted to profile stories.

has_private_calls?: boolean

True, if the user can't be called due to their privacy settings.

has_private_forwards?: boolean

True, if the user can't be linked in forwarded messages due to their privacy settings.

has_restricted_voice_and_video_note_messages?: boolean

True, if voice and video notes can't be sent or forwarded to the user.

has_sponsored_messages_enabled?: boolean

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

need_phone_number_privacy_exception?: boolean

True, if the current user needs to explicitly allow to share their phone number with the user when the method addContact is used.

personal_chat_id: number

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

personal_photo: ChatPhoto

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.

photo: ChatPhoto

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.

public_photo: ChatPhoto

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.

set_chat_background?: boolean

True, if the user set chat background for both chat users and it wasn't reverted yet.

supports_video_calls?: boolean

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