User
This object represents a Telegram user or bot.
Value parameters
- addedToAttachmentMenu
-
Optional. True, if this user added the bot to the attachment menu
- canConnectToBusiness
-
Optional. True, if the bot can be connected to a Telegram Business account to receive its messages. Returned only in getMe.
- canJoinGroups
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
- canReadAllGroupMessages
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
- firstName
-
User's or bot's first name
- id
-
Unique identifier for this user or bot. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.
- isBot
-
True, if this user is a bot
- isPremium
-
Optional. True, if this user is a Telegram Premium user
- languageCode
-
Optional. IETF language tag of the user's language
- lastName
-
Optional. User's or bot's last name
- supportsInlineQueries
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
- username
-
Optional. User's or bot's username
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any