isWithMention
fun <Error class: unknown class>.isWithMention(username: <Error class: unknown class>): <Error class: unknown class>
Check, that TextedContent.textSources contains:
Any dev.inmo.tgbotapi.types.message.textsources.MentionTextSource with dev.inmo.tgbotapi.types.message.textsources.MentionTextSource.username equal to username
Any dev.inmo.tgbotapi.types.message.textsources.TextMentionTextSource with dev.inmo.tgbotapi.types.message.textsources.TextMentionTextSource.user with the same username
fun <Error class: unknown class><<Error class: unknown class>>.isWithMention(user: <Error class: unknown class>): Boolean
Uses isWithMention with Username (is presented) or isWithTextMention with UserId to determine user mentioning in CommonMessage
fun <Error class: unknown class><<Error class: unknown class>>.isWithMention(username: <Error class: unknown class>): <Error class: unknown class>