ktgbotapi
common
tgbotapi.core
/
dev.inmo.tgbotapi.types.chat
/
CommonBot
Common
Bot
@
Serializable
data
class
CommonBot
(
val
id
:
UserId
,
val
username
:
Username
,
val
firstName
:
String
,
val
lastName
:
String
=
""
)
:
Bot
Members
Members & Extensions
Constructors
Common
Bot
Link copied to clipboard
constructor
(
id
:
UserId
,
username
:
Username
,
firstName
:
String
,
lastName
:
String
=
""
)
Properties
first
Name
Link copied to clipboard
open
override
val
firstName
:
String
id
Link copied to clipboard
open
override
val
id
:
UserId
last
Name
Link copied to clipboard
open
override
val
lastName
:
String
user
Link
Link copied to clipboard
val
User
.
userLink
:
String
username
Link copied to clipboard
open
override
val
username
:
Username
Functions
mention
Link copied to clipboard
inline
fun
User
.
mention
(
text
:
String
)
:
TextMentionTextSource
inline
fun
User
.
mention
(
parts
:
TextSourcesList
)
:
TextMentionTextSource