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 6.2 #6

Open
kenifxyz opened this issue Sep 15, 2022 · 2 comments
Open

Bot API 6.2 #6

kenifxyz opened this issue Sep 15, 2022 · 2 comments

Comments

@kenifxyz
Copy link

Release notes for API 6.2 with new webapp functionality:

-Added the field isClosingConfirmationEnabled and the methods enableClosingConfirmation, disableClosingConfirmation, showPopup, showAlert, showConfirm to the class WebApp.
-Added the field is_premium to the class WebAppUser.
-Added the event popupClosed.

@kidonng
Copy link

kidonng commented Sep 21, 2022

https://www.npmjs.com/package/@types/telegram-web-app seems to be more up to date.

@dobromyslov
Copy link

https://www.npmjs.com/package/@types/telegram-web-app seems to be more up to date.

@kidonng Thanks for the link.

npm install --save-dev @types/telegram-web-app

@prKassad
Your repo was initially a rising star, but now Telegram Web App types are implemented in the mainstream @types repo.
Could you please add this link to the README?

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

No branches or pull requests

3 participants