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 7.8 #64

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Bot API 7.8 #64

merged 1 commit into from
Aug 6, 2024

Conversation

telepath-companion[bot]
Copy link

Bot API 7.8

  • Added the option for bots to set a Main Mini App , which can be previewed and launched directly from a button in the bot's profile or a link.
  • Added the method shareToStory to the class WebApp .
  • Added the field has_main_web_app to the class User , which is returned in the response to getMe .
  • Added the parameter business_connection_id to the methods pinChatMessage and unpinChatMessage , allowing bots to manage pinned messages on behalf of a business account.

@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 Jul 31, 2024
@telepath-companion telepath-companion bot requested a review from TiiFuchs July 31, 2024 16:41
Copy link

what-the-diff bot commented Jul 31, 2024

PR Summary 🚀

  • Interaction with Business Connections just got Better!
    Our wizards have added a brand sparkly new parameter called $business_connection_id to the pinChatMessage method. This means we can now pin chat messages specific to business connections. How cool is that? 😇

  • Unpinning also Levelled Up!
    Not just pinning, we also added the same $business_connection_id parameter to the unpinChatMessage method. Making changes has never been easier. Simply less fuss, more control! 🎇

  • Sneak Peek into User's Main App Affiliation!
    There's a new property $has_main_web_app added to the User class. This shows if user has a main web app or not. It's all about making User information more precise and helpful. 👍

@TiiFuchs TiiFuchs merged commit 17f9bf0 into main Aug 6, 2024
1 check passed
@TiiFuchs TiiFuchs deleted the api-7.8 branch August 6, 2024 07:44
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