mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2024-12-22 08:37:18 +00:00
add refund reply and paid media info content additional println
This commit is contained in:
parent
f750589fd3
commit
9fb6570d21
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user