toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.chat
/
Bot
Bot
@
Serializable
(
with
=
UserSerializer::class
)
sealed
class
Bot
:
User
Inheritors
ExtendedBot
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