ktgbotapi
common
tgbotapi.core
/
dev.inmo.tgbotapi.types.chat
/
User
User
@
Serializable
(
with
=
UserSerializer::class
)
sealed
class
User
:
PrivateChat
Inheritors
Bot
CommonUser
Members
Members & Extensions
Properties
first
Name
Link copied to clipboard
abstract
val
firstName
:
String
id
Link copied to clipboard
abstract
override
val
id
:
UserId
last
Name
Link copied to clipboard
abstract
val
lastName
:
String
user
Link
Link copied to clipboard
val
User
.
userLink
:
String
username
Link copied to clipboard
abstract
val
username
:
Username
?
Functions
mention
Link copied to clipboard
inline
fun
User
.
mention
(
text
:
String
)
:
TextMentionTextSource
inline
fun
User
.
mention
(
parts
:
TextSourcesList
)
:
TextMentionTextSource