Forwarded from BotNews
Bot API 6.0
• Added support for Web Apps.
• KeyboardButton and InlineKeyboardButton can now be used to launch Web Apps.
• Added control over the bot's menu button via setChatMenuButton and getChatMenuButton.
• Added control over the bot's default admin rights via setMyDefaultAdministratorRights and getMyDefaultAdministratorRights.
• Added support for t.me links to add bots as admins.
• And more, see the full changelog for details:
https://core.telegram.org/bots/api-changelog#april-16-2022
Warning: After the next update, login_url will only allow HTTPS links.
• Added support for Web Apps.
• KeyboardButton and InlineKeyboardButton can now be used to launch Web Apps.
• Added control over the bot's menu button via setChatMenuButton and getChatMenuButton.
• Added control over the bot's default admin rights via setMyDefaultAdministratorRights and getMyDefaultAdministratorRights.
• Added support for t.me links to add bots as admins.
• And more, see the full changelog for details:
https://core.telegram.org/bots/api-changelog#april-16-2022
Warning: After the next update, login_url will only allow HTTPS links.
core.telegram.org
Telegram Bot API
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram. To learn how to create…
Attention: this update DOES NOT CONTAIN update up to Telegram Bot API 6.0
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.13
•
• Fixes in
• Deprecate
•
• In the expectations a lot of
•
Core
:• Fixes in
mention
creation• Deprecate
StorageFileInfo
•
BehaviourBuilder
:• In the expectations a lot of
on•Message
extensions have been added (like onContentMessage
). These extensions could be useful when with the Content
its message info is importantGitHub
Release 0.38.13 · InsanusMokrassar/TelegramBotAPI
Core:
Fixes in mention creation
Deprecate StorageFileInfo
BehaviourBuilder:
In the expectations a lot of on*Message extensions have been added (like onContentMessage). These extensions could be...
Fixes in mention creation
Deprecate StorageFileInfo
BehaviourBuilder:
In the expectations a lot of on*Message extensions have been added (like onContentMessage). These extensions could be...
Hello everybody :) With support of Telegram Bot API 6.0 I plan to release version 1.0.0 (PR). Currently there is one difficult choice:
• Potentially make break changes and fix all the things which is possible to fix in that release
• Do not make a lot of break changes, but fix some things
Besides, it looks like this release will not contain update up to
• Potentially make break changes and fix all the things which is possible to fix in that release
• Do not make a lot of break changes, but fix some things
Besides, it looks like this release will not contain update up to
kotlin 1.6.20
(😔) due to the fact that currently I can't update MicroUtils
because of JetBrains Compose
still not support new kotlinGitHub
1.0.0 by InsanusMokrassar · Pull Request #564 · InsanusMokrassar/TelegramBotAPI
Type-safe library for work with Telegram Bot API. Contribute to InsanusMokrassar/TelegramBotAPI development by creating an account on GitHub.
So, what would be better for you?
Final Results
100%
See more breaking changes, but clear library
20%
Left the things which will break something as is
This update is just cherry-pick release from 1.0.0 with support of Telegram Bot API 6.0. Potentially this update may contains breaking changes, but I wished to bring you new api version without long waiting for the 1.0.0 release
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.14
This update contains including of Telegram Bot API 6.0
•
• Constructor of
•
• Created 🎉
This update contains including of Telegram Bot API 6.0
•
Core
:• Constructor of
UnknownInlineKeyboardButton
is not internal and can be created with any json
•
WebApps
:• Created 🎉
GitHub
Release 0.38.14 · InsanusMokrassar/TelegramBotAPI
This update contains including of Telegram Bot API 6.0
Core:
Constructor of UnknownInlineKeyboardButton is not internal and can be created with any json
WebApps:
Created ����
Core:
Constructor of UnknownInlineKeyboardButton is not internal and can be created with any json
WebApps:
Created ����
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.15
•
•
•
•
• Fixes in
•
• Add triggers for
•
Common
:•
Version
:•
MicroUtils
: 0.9.20
-> 0.9.24
•
Core
:• Fixes in
MessageContent#serializationModule
•
BehaviourBuilder
:• Add triggers for
DataCallbackQuery
and subtypes with regex checking of dataGitHub
Release 0.38.15 · InsanusMokrassar/TelegramBotAPI
Common:
Version:
MicroUtils: 0.9.20 -> 0.9.24
Core:
Fixes in MessageContent#serializationModule
BehaviourBuilder:
Add triggers for DataCallbackQuery and subtypes with regex checking of...
Version:
MicroUtils: 0.9.20 -> 0.9.24
Core:
Fixes in MessageContent#serializationModule
BehaviourBuilder:
Add triggers for DataCallbackQuery and subtypes with regex checking of...
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.16
•
•
•
Core
:•
TelegramAPIUrlsKeeper
now have two new things: properties webAppDataSecretKey
and fun checkWebAppLink
GitHub
Release 0.38.16 · InsanusMokrassar/ktgbotapi
Core:
TelegramAPIUrlsKeeper now have two new things: properties webAppDataSecretKey and fun checkWebAppLink
TelegramAPIUrlsKeeper now have two new things: properties webAppDataSecretKey and fun checkWebAppLink
I have created very simple WebApp example :) hope it will help you to create your own
GitHub
TelegramBotAPI-examples/WebApp at master · InsanusMokrassar/TelegramBotAPI-examples
This repository contains several examples of simple bots which are using TelegramBotAPI - InsanusMokrassar/TelegramBotAPI-examples
🔥2
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.17
•
• Add
•
•
Core
:• Add
BotCommandScopeChat
as new BotCommandScope
(fix of #574•
BotCommandScope
companion got several properties and functions for more useful scope creationGitHub
Release 0.38.17 · InsanusMokrassar/TelegramBotAPI
Core:
Add BotCommandScopeChat as new BotCommandScope (fix of #574)
BotCommandScope companion got several properties and functions for more useful scope creation
Add BotCommandScopeChat as new BotCommandScope (fix of #574)
BotCommandScope companion got several properties and functions for more useful scope creation
Hello everybody :) it looks like work with refactoring of classpathes in 1.0.0 has been completed and currently I am thinking about the things we could add in that release. In case you wished to suggest something, it seems to be the best time for that :)
GitHub
1.0.0 by InsanusMokrassar · Pull Request #564 · InsanusMokrassar/TelegramBotAPI
Type-safe library for work with Telegram Bot API. Contribute to InsanusMokrassar/TelegramBotAPI development by creating an account on GitHub.
Please, do not update
tgbotapi
up to 0.38.18
- there is a bug in there and currently I am working on itForwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.19
•
• Hotfixes
•
•
• Now it is possible to define additional handlers in subcontexts of
•
BehaviourBuilder
:• Hotfixes
•
BehaviourBuilder FSM
:•
BehaviourContextWithFSMBuilder
deprecated in favor to BehaviourContextWithFSM
• Now it is possible to define additional handlers in subcontexts of
BehaviourBuilderWithFSM
GitHub
Release 0.38.19 · InsanusMokrassar/TelegramBotAPI
BehaviourBuilder:
Hotfixes
BehaviourBuilder FSM:
BehaviourContextWithFSMBuilder deprecated in favor to BehaviourContextWithFSM
Now it is possible to define additional handlers in subcontexts of...
Hotfixes
BehaviourBuilder FSM:
BehaviourContextWithFSMBuilder deprecated in favor to BehaviourContextWithFSM
Now it is possible to define additional handlers in subcontexts of...
👍1
Several news:
• New version 0.38.21 with fixes and improvements
• Improve WebApp example: Now you may try inline buttons and reply markup buttons, use testServer for requests and look how to work with the results of WebApp via sendData or via sending data to server and making answer to the telegram system there
• New version 0.38.21 with fixes and improvements
• Improve WebApp example: Now you may try inline buttons and reply markup buttons, use testServer for requests and look how to work with the results of WebApp via sendData or via sending data to server and making answer to the telegram system there
GitHub
Release 0.38.21 · InsanusMokrassar/TelegramBotAPI
WebApps:
WebAppInitData#queryId now have correct js name of field
New function sendDataOrWorkWithQueryId
WebAppInitData#queryId now have correct js name of field
New function sendDataOrWorkWithQueryId
🔥3
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.23
•
• Add support of fallback triggers (fix of #560)
•
BehaviourHandler
:• Add support of fallback triggers (fix of #560)
GitHub
Release 0.38.23 · InsanusMokrassar/TelegramBotAPI
BehaviourHandler:
Add support of fallback triggers (fix of #560)
Add support of fallback triggers (fix of #560)
👍3
Hello :) I wished to remind you, that today is the last chance to suggest your ideas to include them into 1.0.0 😏
GitHub
1.0.0 by InsanusMokrassar · Pull Request #564 · InsanusMokrassar/TelegramBotAPI
Type-safe library for work with Telegram Bot API. Contribute to InsanusMokrassar/TelegramBotAPI development by creating an account on GitHub.
🎉 1.0.0 has been released 🎉 In examples repository you may find PR with migration onto 1.0.0
Several notes:
• A lot of renames in packages and replaces of objects. Most of them should be backward compatible with 0.38.23
• A lot of rewritings in interfaces related to the sealing of interfaces
• Complex of dependencies updates: Kotlin 1.6.21, Ktor 2.0.1, etc.
• Fixes and improvements in
•
Several notes:
• A lot of renames in packages and replaces of objects. Most of them should be backward compatible with 0.38.23
• A lot of rewritings in interfaces related to the sealing of interfaces
• Complex of dependencies updates: Kotlin 1.6.21, Ktor 2.0.1, etc.
• Fixes and improvements in
BehaviourBuilder
and BehaviourBuilderWithFSM
• StorageFile
has been deprecated and now it is enough to use MultipartFile
everywhere•
InputMedia
(and all subsequent functions) has been renamed to TelegramMedia
GitHub
Release 1.0.0 · InsanusMokrassar/TelegramBotAPI
All the tgbotapi.extensions.* packages have been removed
Versions:
Kotlin: 1.6.10 -> 1.6.21
Ktor: 1.6.8 -> 2.0.1
MicroUtils: 0.9.24 -> 0.10.2
Core:
Ktor package renamed. Migration: de...
Versions:
Kotlin: 1.6.10 -> 1.6.21
Ktor: 1.6.8 -> 2.0.1
MicroUtils: 0.9.24 -> 0.10.2
Core:
Ktor package renamed. Migration: de...
🎉7🔥3
How is your migration onto 1.0.0 (actually 1.1.0)?
Final Results
20%
Have migrated all actual projects
20%
Have migrated some actual projects
10%
Still on under 1.0.0 in actual projects, but plan to migrate
0%
Will not migrate onto 1.0.0
50%
Wa? 1.what?