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

Bot API 8.1 #74

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Bot API 8.1 #74

merged 1 commit into from
Dec 19, 2024

Conversation

telepath-companion[bot]
Copy link

Bot API 8.1

@telepath-companion telepath-companion bot added auto-generated Reflects auto-generated code changes bot api Telegram Bot API related WTD Enable What The Diff comments labels Dec 4, 2024
@telepath-companion telepath-companion bot requested a review from TiiFuchs December 4, 2024 10:20
Copy link

what-the-diff bot commented Dec 4, 2024

🌟 PR Summary 🎉

  • Clarification of Invoice Generation Documentation 📄
    We have tweaked the guide that helps users understand how to use a feature called 'sendInvoice'. Now it's clearer to everyone that the subscription prices do not cross 2500 Telegram Stars. Much needed clarity, right? 😄

  • Introduction of a Class for Affiliate Information 📑
    We decided to have a dedicated space for storing details about affiliates and their commission. So, we've added a new entity called AffiliateInfo. This can track important details like the commission percentage, the amount, affiliate user and chat details, and undergoing nanostar transactions.

  • Improvements to StarTransaction 💫
    Did some touch-ups in the StarTransaction class for accommodating an additional detail – the number of shares transferred during a transaction (nanostar_amount). Dan-dah! 🎊

  • Expansion of Transaction Partner Types 💼
    Our TransactionPartner got a new friend named TransactionPartnerAffiliateProgram. This fresh addition helps describe the commission structures for affiliate programs, encapsulating details like commission per mille and sponsor user information.

  • Birth of TransactionPartnerAffiliateProgram Class 🐣
    This is where our new affiliate commission-related class, TransactionPartnerAffiliateProgram, will live. It proudly defines the commission structure for all of our amazing affiliates. 🎈

  • Adding More Depth to TransactionPartnerUser 🏗
    To keep our TransactionPartnerUser class updated, we've included an additional property, affiliate, which would hold 'AffiliateInfo' type details. This essentially helps us connect affiliates' info with transactions. More connection, more power, right? ✨😀

@TiiFuchs TiiFuchs merged commit 98d247e into main Dec 19, 2024
1 check passed
@TiiFuchs TiiFuchs deleted the api-8.1 branch December 19, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-generated Reflects auto-generated code changes bot api Telegram Bot API related WTD Enable What The Diff comments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant