Identifier of the accent color for name, and backgrounds of profile photo, reply header, and link preview. For Telegram Premium users only.
Optional
added_True, if the user added the current bot to attachment menu; only available to bots.
Identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none. For Telegram Premium users only.
Emoji status to be shown instead of the default Telegram Premium badge; may be null. For Telegram Premium users only.
First name of the user.
Optional
has_True, if the user has non-expired stories available to the current user.
Optional
has_True, if the user has unread non-expired stories available to the current user.
Optional
have_If false, the user is inaccessible, and the only information known about the user is inside this class. Identifier of the user can't be passed to any method.
User identifier.
Optional
is_The user is a close friend of the current user; implies that the user is a contact.
Optional
is_The user is a contact of the current user.
Optional
is_True, if many users reported this user as a fake account.
Optional
is_The user is a contact of the current user and the current user is a contact of the user.
Optional
is_True, if the user is a Telegram Premium user.
Optional
is_True, if many users reported this user as a scam.
Optional
is_True, if the user is Telegram support account.
Optional
is_True, if the user is verified.
IETF language tag of the user's language; only available to bots.
Last name of the user.
Phone number of the user.
Identifier of the accent color for the user's profile; -1 if none. For Telegram Premium users only.
Identifier of a custom emoji to be shown on the background of the user's profile; 0 if none. For Telegram Premium users only.
Profile photo of the user; may be null.
If non-empty, it contains a human-readable description of the reason why access to this user must be restricted.
Optional
restricts_True, if the user may restrict new chats with non-contacts. Use canSendMessageToUser to check whether the current user can message the user or try to create a chat with them.
Current online status of the user.
Type of the user.
Usernames of the user; may be null.
Represents a user.