toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.chat
/
User
User
@
Serializable
(
with
=
UserSerializer::class
)
sealed
class
User
:
PrivateChat
Inheritors
PreviewUser
Bot
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
is
Fake
Telegram
User
Link copied to clipboard
fun
User
.
isFakeTelegramUser
(
)
:
Boolean
mention
Link copied to clipboard
inline
fun
User
.
mention
(
text
:
String
)
:
TextMentionTextSource
inline
fun
User
.
mention
(
parts
:
TextSourcesList
)
:
TextMentionTextSource