1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-27 04:28:44 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.types.MessageEntity.textsources/mention.md
2021-03-17 15:18:37 +00:00

5.1 KiB

//docs/dev.inmo.tgbotapi.types.MessageEntity.textsources/mention

mention

[common]
Content
inline fun mention(parts: List<TextSource>): MentionTextSource
inline fun mention(vararg parts: TextSource): MentionTextSource
inline fun mention(parts: List<TextSource>, user: User): TextMentionTextSource
inline fun User.mention(parts: List<TextSource>): TextMentionTextSource
inline fun mention(parts: List<TextSource>, userId: UserId): TextMentionTextSource
inline fun UserId.mention(parts: List<TextSource>): TextMentionTextSource
inline fun mention(parts: List<TextSource>, id: Identifier): TextMentionTextSource
inline fun Identifier.mention(parts: List<TextSource>): 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

[common]
Content
inline fun mention(whoToMention: String): MentionTextSource
More info

Without leading "@"