mirror of
				https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
				synced 2025-11-04 06:00:10 +00:00 
			
		
		
		
	update up to 0.35.9
This commit is contained in:
		@@ -17,7 +17,7 @@ suspend fun main(vararg args: String) {
 | 
			
		||||
    val botToken = args.first()
 | 
			
		||||
 | 
			
		||||
    telegramBotWithBehaviour(botToken, CoroutineScope(Dispatchers.IO)) {
 | 
			
		||||
        onContentMessage(includeMediaGroups = true) {
 | 
			
		||||
        onContentMessage(subcontextUpdatesFilter = { _, _ -> true }) {
 | 
			
		||||
            val toAnswer = buildEntities {
 | 
			
		||||
                when (val forwardInfo = it.forwardInfo) {
 | 
			
		||||
                    null -> +"There is no forward info"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user