docs
Toggle table of contents
35.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
docs
docs
/
dev.inmo.tgbotapi.types.message.textsources
/
mentionTextSource
mention
Text
Source
fun
mentionTextSource
(
parts
:
TextSourcesList
)
:
MentionTextSource
(
source
)
fun
mentionTextSource
(
vararg
parts
:
TextSource
)
:
MentionTextSource
(
source
)
fun
mentionTextSource
(
whoToMention
:
Username
)
:
MentionTextSource
(
source
)
fun
mentionTextSource
(
parts
:
TextSourcesList
,
user
:
User
)
:
TextMentionTextSource
(
source
)
fun
User
.
mentionTextSource
(
parts
:
TextSourcesList
)
:
TextMentionTextSource
(
source
)
fun
mentionTextSource
(
parts
:
TextSourcesList
,
userId
:
UserId
)
:
TextMentionTextSource
(
source
)
fun
UserId
.
mentionTextSource
(
parts
:
TextSourcesList
)
:
TextMentionTextSource
(
source
)
fun
mentionTextSource
(
parts
:
TextSourcesList
,
id
:
RawChatId
)
:
TextMentionTextSource
(
source
)
fun
RawChatId
.
mentionTextSource
(
parts
:
TextSourcesList
)
:
TextMentionTextSource
(
source
)
fun
mentionTextSource
(
user
:
User
,
vararg
parts
:
TextSource
)
:
TextMentionTextSource
(
source
)
fun
mentionTextSource
(
text
:
String
,
user
:
User
)
:
TextMentionTextSource
(
source
)
fun
User
.
mentionTextSource
(
text
:
String
)
:
TextMentionTextSource
(
source
)
fun
mentionTextSource
(
text
:
String
,
userId
:
UserId
)
:
TextMentionTextSource
(
source
)
fun
UserId
.
mentionTextSource
(
text
:
String
)
:
TextMentionTextSource
(
source
)
fun
mentionTextSource
(
text
:
String
,
id
:
RawChatId
)
:
TextMentionTextSource
(
source
)
fun
RawChatId
.
mentionTextSource
(
text
:
String
)
:
TextMentionTextSource
(
source
)
fun
mentionTextSource
(
whoToMention
:
String
)
:
MentionTextSource
(
source
)
Without leading "@"