Replies: 1 comment
-
The less strange stuff you invent - the less problems you will get. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello pyTelegramBotAPI developers and community!
I'm working with Telegram Payments in my bot using pyTelegramBotAPI (lastes version), and I'm trying to process affiliate commissions information from successful payments, but I'm having trouble accessing this data.
According to Telegram Bot API documentation, successful payments should include an
affiliate_info
field with commission details, and I've properly included the AffiliateInfo class in my imports:In my payment handler, I'm trying to access this data:
However, I never see the affiliate information in the logs. I've confirmed that:
Questions:
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions