Extended by : BPT\types\types
This object represents a Telegram user or bot.
| Name | Type | Description | Kind |
|---|---|---|---|
| id | int | 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. | normal |
| is_bot | bool | True, if this user is a bot | normal |
| first_name | string | User's or bot's first name | normal |
| last_name | string | Optional. User's or bot's last name | normal |
| username | string | Optional. User's or bot's username | normal |
| language_code | string | Optional. IETF language tag of the user's language | normal |
| is_premium | bool | Optional. True, if this user is a Telegram Premium user | normal |
| added_to_attachment_menu | bool | Optional. True, if this user added the bot to the attachment menu | normal |
| can_join_groups | bool | Optional. True, if the bot can be invited to groups. Returned only in getMe. | normal |
| can_read_all_group_messages | bool | Optional. True, if privacy mode is disabled for the bot. Returned only in getMe. | normal |
| supports_inline_queries | bool | Optional. True, if the bot supports inline queries. Returned only in getMe. | normal |