User
Parameters
id
Unique identifier for this user or bot
isBot
True, if this user is a bot
firstName
User's or bot's first name
lastName
Optional. User's or bot's last name
username
Optional. User's or bot's username
languageCode
Optional. IETF language tag of the user's language
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.
supportsInlineQueries
Optional. True, if the bot supports inline queries. Returned only in getMe.
Constructors
User
Link copied to clipboard
fun User(id: Int, isBot: Boolean, firstName: String, lastName: String? = null, username: String? = null, languageCode: String? = null, canJoinGroups: Boolean = false, canReadAllGroupMessages: Boolean = false, supportsInlineQueries: Boolean = false)
Content copied to clipboard
Unique identifier for this user or bot
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
component7
Link copied to clipboard
component8
Link copied to clipboard
component9
Link copied to clipboard
copy
Link copied to clipboard
Properties
canJoinGroups
Link copied to clipboard
canReadAllGroupMessages
Link copied to clipboard
languageCode
Link copied to clipboard
supportsInlineQueries
Link copied to clipboard