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 "@"