mirror of
				https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
				synced 2025-11-04 14:10:51 +00:00 
			
		
		
		
	add refund reply and paid media info content additional println
This commit is contained in:
		@@ -174,6 +174,17 @@ suspend fun main(vararg args: String) {
 | 
			
		||||
            )
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        onPaidMediaInfoContent {
 | 
			
		||||
            println(it)
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        onRefundedPayment {
 | 
			
		||||
            reply(
 | 
			
		||||
                it,
 | 
			
		||||
                "Received your refund: ${it.chatEvent.payment}"
 | 
			
		||||
            )
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        allUpdatesFlow.subscribeSafelyWithoutExceptions(this) { println(it) }
 | 
			
		||||
    }.second.join()
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user