-
Notifications
You must be signed in to change notification settings - Fork 11
Change log
Reza edited this page Sep 15, 2023
·
2 revisions
- Introduced middlewares. You can now add middlewares to the bot to be executed before the update hits the handlers and channels.
- Added
DeleteInmethod toMessageEditortool. This method can be used for deleting messages with a delay. - Fixing ISSUE #17 and #11. All tools are now exported so they can be returned in user defined methods.
- Bug fixes.
Improvements :
- Added full support for Telegram bot API 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8 .
- Run method of the bot now has an auto pause option. If true is passed, the Run method will lock the go routine.
- Many many classes have been upgraded to newest version and many fields have been added. (Naming all of them is not possible due to the huge amount of change)
- Implemented a thread safe map in callback handlers to avoid race condition.
- Golang version (in go.mod) has been upgraded to 1.18.
- Bug fixes.
New features :
- Added a new
stickerEditorwhich has several methods for editing a sticker. Such as editing the emoji list, keywordas and etc. Accessible viaGetStickerEditormethod. - Added
forumTopicManagerandgeneralForumTopicManagerfor managing topics. They both provide a set of tools that can be leveraged for manaing topics. - Added spoiler support for media (photo,video,animation) messages.
- Added two new keys to the keyboard.
RequestUserandReqestChat. - Added a set of new handlers used for handling messages triggered by
RequestUserandReqestChatbuttons. - Added
SetButtonmethods toinlineQueryResponderfor setting a button that will be shown above inline query results. - Added
AddSwitchInlineQueryChoseChatButtonmethod to the inline keyboard to support the newSwitchInlineQueryChosenChatoption in inline keyboards. - Introduced bot manager tool, a tool for managing bot's personal information such as name and description.
- Removed row argument from
AddPayButtonof inline keybpard and prechecking invoice message keyboard. (Regarding ISSUE #15). - Methods
ACreateInvoiceandACreateInvoiceUNnow return error along side with the invoiceSender.
Deprecations :
- CreateNewStickerSet method of the bot. Use CreateStickerSet instead.
- AddSticker, AddPngSticker, AddPngStickerByFile, AddAnimatedSticker,AddVideoSticker methods of stickerSet. Use AddNewSticker and AddNewStickerByFile instead.
- Added full support for telegram bot API 6.0 and 6.1
- Added support for web apps
- Fixed some code errors
- Fixed a bug in webhook
- Added config updating option while bot is running.
- Added block option.
- Added
VerifyJoinmethod for checking if a user has joined a channel or supergroup or not. - Added file based configs.
- Improved logging system.
- Improved documentation
- Added support for telegram bot API 5.7
- Improved sticker creation experience by adding new separate methods.
- Correct syntax errors by @ityulkanov
- Bug fixes
- Bug fixes
- Added webhook support
- Improved handlers and regex bug fixed.
- Some other bug fixes.
- Added TextFormatter tool for formatting texts.
- Bug fixes
- Added support for telegram bot API 5.6 .
- Improved documentation.
- Custom keyboard button handler
- Major bug fixes
- Callback handlers
- keyboard creation tool
Made with ❤️ by Reza