Replies: 2 comments
-
Try to go with listening message and take @On('message')
async hears(@Ctx() ctx: any) {
const payment = ctx.update.message.successful_payment as TelegramSuccessfulPayment
} You just need to set |
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
-
Hey m8s.
This code doesn't work.
But when I use
bot.on
, everything works:Beta Was this translation helpful? Give feedback.
All reactions