mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-07-25 17:35:09 +00:00
4.2 KiB
4.2 KiB
//docs/dev.inmo.tgbotapi.types/User
User
[common] sealed class User : PrivateChat
Properties
Name | Summary |
---|---|
firstName | [common] abstract val firstName: String |
id | [common] abstract override val id: UserId |
lastName | [common] abstract val lastName: String |
username | [common] abstract val username: Username? |
Inheritors
Name |
---|
CommonUser |
Bot |
Extensions
Name | Summary |
---|---|
link | [common] Content val User.link: String |
mention | [common] Content inline fun User.mention(parts: List<TextSource>): TextMentionTextSource inline fun User.mention(text: String): TextMentionTextSource |