1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-07-03 14:50:49 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.utils/without-sent-via-bot.md
2021-03-17 15:18:37 +00:00

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