Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue 121 - paidMediaPurchased payload incorrect name from json f… #122

Merged
merged 3 commits into from
Oct 26, 2024

Conversation

injektion
Copy link
Contributor

should be "payload" not "paid_media_payload" in PaidMediaPurchased update.

Copy link

codecov bot commented Oct 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (1ba930f) to head (30e8a52).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##              master      #122    +/-   ##
============================================
  Coverage     100.00%   100.00%            
  Complexity      1330      1330            
============================================
  Files            365       365            
  Lines           4904      5269   +365     
============================================
+ Hits            4904      5269   +365     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vjik vjik merged commit 827e650 into vjik:master Oct 26, 2024
11 of 12 checks passed
@injektion injektion deleted the fix-issue-121 branch October 26, 2024 17:48
@injektion
Copy link
Contributor Author

Note:

When it's a PaidMediaPurchased update, it's "payload".
In transaction history (ie: getStarTransactions) it's "paid_media_payload"

Not sure if TG just hasn't updated the PMPupdate to match yet...

@vjik
Copy link
Owner

vjik commented Oct 29, 2024

When it's a PaidMediaPurchased update, it's "payload". In transaction history (ie: getStarTransactions) it's "paid_media_payload"

I'm tested getStarTransactions, here really used "paid_media_payload".

Not sure if TG just hasn't updated the PMPupdate to match yet...

We will fix library when Telegram change field names =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants