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

18 lines
1.2 KiB
Markdown

//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.utils](index.md)/[withoutSentViaBot](without-sent-via-bot.md)
# withoutSentViaBot
[common]
Content
fun <[MC](without-sent-via-bot.md) : [MessageContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-message-content/index.md), [M](without-sent-via-bot.md) : [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[MC](without-sent-via-bot.md)>> <[M](without-sent-via-bot.md)>.[withoutSentViaBot](without-sent-via-bot.md)(): <[M](without-sent-via-bot.md)>
More info
Filter the messages and checking that incoming [CommonMessage](../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.md) not is [PossiblySentViaBotCommonMessage](../dev.inmo.tgbotapi.types.message.content.abstracts/-possibly-sent-via-bot-common-message/index.md) or its [PossiblySentViaBotCommonMessage.senderBot](../dev.inmo.tgbotapi.types.message.content.abstracts/-possibly-sent-via-bot-common-message/index.md#%5Bdev.inmo.tgbotapi.types.message.content.abstracts%2FPossiblySentViaBotCommonMessage%2FsenderBot%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081) is null