Tourmaline::User
Inherits JSON::Serializable / Reference / Object
This object represents a Telegram user or bot.
Constructors
Instance methods
Optional. True, if the bot can be invited to groups. Returned only in getMe.
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
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.
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.
Optional. IETF language tag of the user's language
Optional. True, if the bot supports inline queries. Returned only in getMe.
Optional. True, if the bot supports inline queries. Returned only in getMe.