add refund reply and paid media info content additional println

This commit is contained in:
InsanusMokrassar 2024-07-10 17:48:43 +06:00
parent f750589fd3
commit 9fb6570d21

View File

@ -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) } allUpdatesFlow.subscribeSafelyWithoutExceptions(this) { println(it) }
}.second.join() }.second.join()
} }