//[docs](../../../index.md)/[dev.inmo.tgbotapi.types](../index.md)/[User](index.md)
# User
[common] sealed class [User](index.md) : [PrivateChat](../../dev.inmo.tgbotapi.types.chat.abstracts/-private-chat/index.md)
## Properties
| Name | Summary |
|---|---|
| [firstName](index.md#%5Bdev.inmo.tgbotapi.types%2FUser%2FfirstName%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081)| [common] abstract val [firstName](index.md#%5Bdev.inmo.tgbotapi.types%2FUser%2FfirstName%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|
| [id](index.md#%5Bdev.inmo.tgbotapi.types%2FUser%2Fid%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081)| [common] abstract override val [id](index.md#%5Bdev.inmo.tgbotapi.types%2FUser%2Fid%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081): [UserId](../index.md#%5Bdev.inmo.tgbotapi.types%2FUserId%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)
|
| [lastName](index.md#%5Bdev.inmo.tgbotapi.types%2FUser%2FlastName%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081)| [common] abstract val [lastName](index.md#%5Bdev.inmo.tgbotapi.types%2FUser%2FlastName%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|
| [username](index.md#%5Bdev.inmo.tgbotapi.types%2FUser%2Fusername%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081)| [common] abstract val [username](index.md#%5Bdev.inmo.tgbotapi.types%2FUser%2Fusername%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081): [Username](../-username/index.md)?
|
## Inheritors
| Name |
|---|
| [CommonUser](../-common-user/index.md)|
| [Bot](../-bot/index.md)|
## Extensions
| Name | Summary |
|---|---|
| [link](../link.md)| [common]
Content
val [User](index.md).[link](../link.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|
| [mention](../../dev.inmo.tgbotapi.types.MessageEntity.textsources/mention.md)| [common]
Content
inline fun [User](index.md).[mention](../../dev.inmo.tgbotapi.types.MessageEntity.textsources/mention.md)(parts: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>): [TextMentionTextSource](../../dev.inmo.tgbotapi.types.MessageEntity.textsources/-text-mention-text-source/index.md)
inline fun [User](index.md).[mention](../../dev.inmo.tgbotapi.types.MessageEntity.textsources/mention.md)(text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [TextMentionTextSource](../../dev.inmo.tgbotapi.types.MessageEntity.textsources/-text-mention-text-source/index.md)
|