mirror of
				https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
				synced 2025-10-30 19:50:06 +00:00 
			
		
		
		
	fix according to update of tgbotapi version
This commit is contained in:
		| @@ -48,7 +48,7 @@ suspend fun main(args: Array<String>) { | |||||||
|                 +"Send me some content or " + botCommand("stop") + " if you want to stop sending" |                 +"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) |                 message.sameThread(it.sourceMessage) | ||||||
|             }.first() |             }.first() | ||||||
|             val content = contentMessage.content |             val content = contentMessage.content | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user