mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-07-03 14:50:49 +00:00
1.2 KiB
1.2 KiB
//docs/dev.inmo.tgbotapi.extensions.utils/withoutSentViaBot
withoutSentViaBot
[common]
Content
fun <MC : MessageContent, M : ContentMessage<MC>> <M>.withoutSentViaBot(): <M>
More info
Filter the messages and checking that incoming CommonMessage not is PossiblySentViaBotCommonMessage or its PossiblySentViaBotCommonMessage.senderBot is null