Class UserType.
Properties
Optional. True, if the bot can be invited to groups. Returned only in getMe.
$canJoinGroups : boolean | null
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
$canReadAllGroupMessages : boolean | null
User‘s or bot’s first name.
$firstName : string
Unique identifier for this user or bot.
$id : integer
True, if this user is a bot.
$isBot : boolean
Optional. IETF language tag of the user's language.
$languageCode : string | null
Optional. User‘s or bot’s last name.
$lastName : string | null
Optional. True, if the bot supports inline queries. Returned only in getMe.
$supportsInlineQueries : boolean | null
Optional. User‘s or bot’s username.
$username : string | null