Package org.drinkless.tdlib
Class TdApi.UserFullInfo
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.UserFullInfo
-
- Enclosing class:
- TdApi
public static class TdApi.UserFullInfo extends TdApi.Object
Contains full information about a user.
-
-
Field Summary
Fields Modifier and Type Field Description StringbioA short user bio.booleancanBeCalledTrue, if the user can be called.TdApi.BotCommand[]commandsFor bots, list of the bot commands.static intCONSTRUCTORIdentifier uniquely determining type of the object.StringdescriptionFor bots, the text shown in the chat with the bot if the chat is empty.intgroupInCommonCountNumber of group chats where both the other user and the current user are a member; 0 for the current user.booleanhasPrivateCallsTrue, if the user can't be called due to their privacy settings.booleanhasPrivateForwardsTrue, if the user can't be linked in forwarded messages due to their privacy settings.booleanisBlockedTrue, if the user is blocked by the current user.booleanneedPhoneNumberPrivacyExceptionTrue, if the current user needs to explicitly allow to share their phone number with the user when the method addContact is used.TdApi.ChatPhotophotoUser profile photo; may be null.StringshareTextFor bots, the text that is shown on the bot's profile page and is sent together with the link when users share the bot.booleansupportsVideoCallsTrue, if a video call can be created with the user.
-
Constructor Summary
Constructors Constructor Description UserFullInfo()Contains full information about a user.UserFullInfo(TdApi.ChatPhoto photo, boolean isBlocked, boolean canBeCalled, boolean supportsVideoCalls, boolean hasPrivateCalls, boolean hasPrivateForwards, boolean needPhoneNumberPrivacyException, String bio, String shareText, String description, int groupInCommonCount, TdApi.BotCommand[] commands)Contains full information about a user.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
photo
public TdApi.ChatPhoto photo
User profile photo; may be null.
-
isBlocked
public boolean isBlocked
True, if the user is blocked by the current user.
-
canBeCalled
public boolean canBeCalled
True, if the user can be called.
-
supportsVideoCalls
public boolean supportsVideoCalls
True, if a video call can be created with the user.
-
hasPrivateCalls
public boolean hasPrivateCalls
True, if the user can't be called due to their privacy settings.
-
hasPrivateForwards
public boolean hasPrivateForwards
True, if the user can't be linked in forwarded messages due to their privacy settings.
-
needPhoneNumberPrivacyException
public 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.
-
bio
public String bio
A short user bio.
-
shareText
public 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.
-
description
public String description
For bots, the text shown in the chat with the bot if the chat is empty.
-
groupInCommonCount
public int groupInCommonCount
Number of group chats where both the other user and the current user are a member; 0 for the current user.
-
commands
public TdApi.BotCommand[] commands
For bots, list of the bot commands.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UserFullInfo
public UserFullInfo()
Contains full information about a user.
-
UserFullInfo
public UserFullInfo(TdApi.ChatPhoto photo, boolean isBlocked, boolean canBeCalled, boolean supportsVideoCalls, boolean hasPrivateCalls, boolean hasPrivateForwards, boolean needPhoneNumberPrivacyException, String bio, String shareText, String description, int groupInCommonCount, TdApi.BotCommand[] commands)
Contains full information about a user.- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-