UserFullInfo
Contains full information about a user.
This is an alias for the UserFullInfoUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "userFullInfo" | |
photo | User profile photo; may be null | |
isBlocked | boolean | True, if the user is blocked by the current user |
canBeCalled | boolean | True, if the user can be called |
supportsVideoCalls | boolean | True, if a video call can be created with the user |
hasPrivateCalls | boolean | True, if the user can't be called due to their privacy settings |
hasPrivateForwards | boolean | True, if the user can't be linked in forwarded messages due to their privacy settings |
needPhoneNumberPrivacyException | boolean | True, if the current user needs to explicitly allow to share their phone number with the user when the method addContact is used |
bio | string | A short user bio |
shareText | string | 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 |
description | string | For bots, the text shown in the chat with the bot if the chat is empty |
groupInCommonCount | number | Number of group chats where both the other user and the current user are a member; 0 for the current user |
commands | For bots, list of the bot commands |