public static class TdApi.UserFullInfo extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
bio
A short user bio.
|
boolean |
canBeCalled
True, if the user can be called.
|
TdApi.BotCommand[] |
commands
For bots, list of the bot commands.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
description
For bots, the text shown in the chat with the bot if the chat is empty.
|
int |
groupInCommonCount
Number of group chats where both the other user and the current user are a member; 0 for the current user.
|
boolean |
hasPrivateCalls
True, if the user can't be called due to their privacy settings.
|
boolean |
hasPrivateForwards
True, if the user can't be linked in forwarded messages due to their privacy settings.
|
boolean |
isBlocked
True, if the user is blocked by the current user.
|
boolean |
needPhoneNumberPrivacyException
True, if the current user needs to explicitly allow to share their phone number with the user when the method addContact is used.
|
TdApi.ChatPhoto |
photo
User profile photo; may be null.
|
java.lang.String |
shareText
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.
|
boolean |
supportsVideoCalls
True, if a video call can be created with the user.
|
Constructor and Description |
---|
UserFullInfo()
Contains full information about a user.
|
UserFullInfo(TdApi.ChatPhoto photo,
boolean isBlocked,
boolean canBeCalled,
boolean supportsVideoCalls,
boolean hasPrivateCalls,
boolean hasPrivateForwards,
boolean needPhoneNumberPrivacyException,
java.lang.String bio,
java.lang.String shareText,
java.lang.String description,
int groupInCommonCount,
TdApi.BotCommand[] commands)
Contains full information about a user.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
@Nullable public TdApi.ChatPhoto photo
public boolean isBlocked
public boolean canBeCalled
public boolean supportsVideoCalls
public boolean hasPrivateCalls
public boolean hasPrivateForwards
public boolean needPhoneNumberPrivacyException
public java.lang.String bio
public java.lang.String shareText
public java.lang.String description
public int groupInCommonCount
public TdApi.BotCommand[] commands
public static final int CONSTRUCTOR
public UserFullInfo()
public UserFullInfo(TdApi.ChatPhoto photo, boolean isBlocked, boolean canBeCalled, boolean supportsVideoCalls, boolean hasPrivateCalls, boolean hasPrivateForwards, boolean needPhoneNumberPrivacyException, java.lang.String bio, java.lang.String shareText, java.lang.String description, int groupInCommonCount, TdApi.BotCommand[] commands)
photo
- User profile photo; may be null.isBlocked
- True, if the user is blocked by the current user.canBeCalled
- True, if the user can be called.supportsVideoCalls
- True, if a video call can be created with the user.hasPrivateCalls
- True, if the user can't be called due to their privacy settings.hasPrivateForwards
- True, if the user can't be linked in forwarded messages due to their privacy settings.needPhoneNumberPrivacyException
- True, if the current user needs to explicitly allow to share their phone number with the user when the method addContact is used.bio
- A short user bio.shareText
- 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
- For bots, the text shown in the chat with the bot if the chat is empty.groupInCommonCount
- 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.public int getConstructor()
getConstructor
in class TdApi.Object