Class UserType.

see
package Default

 Properties

 

Optional. True, if the bot can be invited to groups. Returned only in getMe.

$canJoinGroups : boolean | null

Default

 

Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.

$canReadAllGroupMessages : boolean | null

Default

 

User‘s or bot’s first name.

$firstName : string

Default

 

Unique identifier for this user or bot.

$id : integer

Default

 

True, if this user is a bot.

$isBot : boolean

Default

 

Optional. IETF language tag of the user's language.

$languageCode : string | null

Default

 

Optional. User‘s or bot’s last name.

$lastName : string | null

Default

 

Optional. True, if the bot supports inline queries. Returned only in getMe.

$supportsInlineQueries : boolean | null

Default

 

Optional. User‘s or bot’s username.

$username : string | null

Default