toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.chat
/
PreviewUser
Preview
User
@
Serializable
(
with
=
UserSerializer::class
)
sealed
class
PreviewUser
:
User
,
PreviewPrivateChat
Inheritors
PreviewBot
CommonUser
Members
Members & Extensions
Properties
first
Name
Link copied to clipboard
abstract
val
firstName
:
String
id
Link copied to clipboard
abstract
val
id
:
IdChatIdentifier
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