fix according to update of tgbotapi version

This commit is contained in:
InsanusMokrassar 2023-02-17 16:04:32 +06:00
parent 51c300c734
commit f52590868c

View File

@ -48,7 +48,7 @@ suspend fun main(args: Array<String>) {
+"Send me some content or " + botCommand("stop") + " if you want to stop sending"
}
val contentMessage = waitContentMessage().filter { message ->
val contentMessage = waitAnyContentMessage().filter { message ->
message.sameThread(it.sourceMessage)
}.first()
val content = contentMessage.content