docs
4.2.4
common
docs
/
dev.inmo.tgbotapi.types.message.textsources
/
mention
mention
inline
fun
mention
(
parts
:
TextSourcesList
)
:
MentionTextSource
inline
fun
mention
(
vararg
parts
:
TextSource
)
:
MentionTextSource
inline
fun
mention
(
whoToMention
:
Username
)
:
MentionTextSource
inline
fun
mention
(
parts
:
TextSourcesList
,
user
:
User
)
:
TextMentionTextSource
inline
fun
User
.
mention
(
parts
:
TextSourcesList
)
:
TextMentionTextSource
inline
fun
mention
(
parts
:
TextSourcesList
,
userId
:
UserId
)
:
TextMentionTextSource
inline
fun
UserId
.
mention
(
parts
:
TextSourcesList
)
:
TextMentionTextSource
inline
fun
mention
(
parts
:
TextSourcesList
,
id
:
Identifier
)
:
TextMentionTextSource
inline
fun
Identifier
.
mention
(
parts
:
TextSourcesList
)
:
TextMentionTextSource
inline
fun
mention
(
user
:
User
,
vararg
parts
:
TextSource
)
:
TextMentionTextSource
inline
fun
mention
(
text
:
String
,
user
:
User
)
:
TextMentionTextSource
inline
fun
User
.
mention
(
text
:
String
)
:
TextMentionTextSource
inline
fun
mention
(
text
:
String
,
userId
:
UserId
)
:
TextMentionTextSource
inline
fun
UserId
.
mention
(
text
:
String
)
:
TextMentionTextSource
inline
fun
mention
(
text
:
String
,
id
:
Identifier
)
:
TextMentionTextSource
inline
fun
Identifier
.
mention
(
text
:
String
)
:
TextMentionTextSource
inline
fun
mention
(
whoToMention
:
String
)
:
MentionTextSource
Without leading "@"