Replies: 2 comments
-
help me!!! @gladimdim @f3ath @simolus3 @brhanem |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't think there's a way to add specific listener for the But, you can do try this snippet: bot.onMessage().listen((msg) {
if (msg.successfulPayment == null) return;
final successfulPayment = msg.successfulPayment!;
// Now do your stuff with successfulPayment here
}); As you can see, this snippet will listen to all the messages, and execute the code only if |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
it's work
how to check successful_payment ?
It doesn’t work like that, help me how to do it right?
Beta Was this translation helpful? Give feedback.
All reactions