vvlad1973-telegram-framework
Version:
Current version: *7.9.5*
41 lines (39 loc) • 5.82 kB
Markdown
# Changes' history
| Changes | Version | Date |
|:---|:---:|:---:|
| Fixed several bugs, refactored **BaseTelegramBot.processUpdate()** method | 7.9.5 | 11/11/2023 |
| Implemented methods **approveChatJoinRequest** & **declineChatJoinRequest**</br> | 7.9.0 | 15/10/2023 |
| Refactoring sending POST-request routine | 7.8.0 | 14/09/2023 |
| Added processing for chat type attribute for dialogs in **BaseTelegramBot.processUpdate()** and **Scenario.process()** | 7.7.0 | 07/08/2023 |
| Added **CallbackQuery.replyMessage()**. Added export class **CallbackQuery** | 7.6.0 | 05/08/2023 |
| Fixed bug in imports for **Filler** class | 7.5.1 | 09/07/2023 |
| Added formatUserUrl() routine | 7.5.0 | 09/07/2023 |
| Added chat action option in Scenario.setDelay() | 7.4.0 | 25/05/2023 |
| Added error handling in Scenario.doAction(): if in the action is defined options.result.false section, it will be executed when throwing an exception. If it not, will throw an exception as usual | 7.3.0 | 15/05/2023 |
| Added support for jsonc format for dialogs</br> | 7.2.1 | 22/04/2023 |
| Improved resolving of strings with templates strings in Filler. Now it supports using as string identificator a regular expression (example: "@/\<regular expression>/:[\<parameters>]"). If it used, as result of resolving will used a random string resourse ID of which matches with the regular expression</br> | 7.1.0 | 16/04/2023 |
| Changed specification for actions. Enhanced class Message. Fixed bug with working with media</br> | 7.0.0 | 11/04/2023 |
| Fixed bugs with cannel_post type updates, polls</br> | 6.1.2 | 30/03/2023 |
| Added defaultParseMode to parameters of BaseTelegramBot's constructor. Added argument forceSetWebhook to BaseTelegramBot.init() method</br> | 6.1.0 | 26/03/2023 |
| Changed name of propeties of BaseTelegramBot class, this is a break out change. Changed **constructor** and **setWebhook** method, now it supports all of parameters this of this method of Telegram Bot API. Changed method **getFile**: now it return field file_url in the response with result of execuion. Implemented methods: **banChatMember**, **unbanChatMember**, **restrictChatMember**, **promoteChatMember**</br> | 6.0.0 | 26/03/2023 |
| Fixed bug with handling error in doSwitch action (when neither cases nor default actions defined) </br> | 5.10.2 | 23/03/2023 |
| Added class **ReplyKeyboardMarkup**</br> | 5.10.0 | 19/03/2023 |
| Implemented method **sendMediaGroup** </br> | 5.9.2 | 12/03/2023 |
| Fixed bug with parameters resolving in case of asynchronous values in they (which is unresolved Promises). Added checking and resolving promises</br> | 5.8.3 | 18/02/2023 |
| Added Filler.context property and use it in procedure completeText(). Now just need to add some objects as member Filler.context and they will be available for use in params resolving</br> | 5.8.0 | 1/12/2022 |
| Fixed minor bug. Added properties for analyze statistics of loading Sender and queue size</br> | 5.7.1 | 26/11/2022 |
| Fixed bug with logging on deep level for blob fields of objects</br> | 5.5.1 | 13/11/2022 |
| Added properties Message.type, Message.fileId</br> | 5.5.0 | 12/11/2022 |
| Changed logic of logging</br> | 5.2.0 | 10/11/2022 |
| Implemented method **sendSticker** | 5.1.0 | 31/10/2022 |
| Changed structure of dialogs: attributes *user* and *chat* moved to root of dialog object (was in block *received*) | 5.0.0 | 31/10/2022 |
| Changed behavior of Filler in working with params.</br> *Now it is available to define for value of parameter a function* | 4.2.0 | 23/10/2022 |
| Added class **Message**</br>Added preprocessing updates logig. Added module **multiple_choise.js** to implement multiple choise interactive messages based on inline keyboard markup</br> | 3.2.0 alpha | 20/01/2022 |
| Added classes:</br> - **BotCommandScopeDefault**</br> - **BotCommandScopeAllPrivateChats**</br> - **BotCommandScopeAllGroupChats**</br> - **BotCommandScopeAllChatAdministrators**</br> - **BotCommandScopeChat**</br> - **BotCommandScopeChatAdministrators**</br> - **BotCommandScopeChatMember**</br> Implemented methods:</br> - **BaseTelegramBot.copyMessage**</br> - **BaseTelegramBot.sendVideoNote**</br> - **BaseTelegramBot.getFile**</br> - **BaseTelegramBot.getChat**</br> - **BaseTelegramBot.getChatMember**</br> - **BaseTelegramBot.sendPoll**</br> - **BaseTelegramBot.stopPoll**</br></br> | 3.1.0 alpha | 17/01/2022 |
| Full refactoring of package</br>Changed method:</br> - **BaseTelegramBot.processUpdate**</br>Added classes:</br> - **InputMediaPhoto**</br> - **InputMediaVideo**</br> - **InputMediaAnimation**</br> - **InputMediaAudio**</br> - **InputMediaDocument**</br> - **CallbackQuery**</br></br>Implemented methods:</br> - **BaseTelegramBot.sendVideo**</br> - **BaseTelegramBot.sendContact**</br> - **BaseTelegramBot.sendAudio**</br> - **BaseTelegramBot.sendVoice**</br> - **BaseTelegramBot.sendDocument**</br> - **BaseTelegramBot.sendAnimation**</br> - **BaseTelegramBot.copyMessage**</br></br> | 3.0.0 alpha | 15/01/2022 |
| Implemented methods: **sendChatAction**, **sendDice** | 2.6.0 | 11/01/2022 |
| Added class **InlineKeyboardMarkup** | 2.5.0 | 10/01/2022 |
| Added classess: **ReplyKeyboardRemove**, **ForceReply**, **InlineKeyboardMarkup** | 2.4.0 | 10/01/2022 |
| Added property **defaultParseMode** to class **TelegramBot**. Implemented methods: **editMessageText**, **editMessageCaptions**, **editMessageReplyMarkup**, **editMessageMedia** | 2.3.0 | 09/01/2022|
| Implemented methods: **unpinAllChatMessages**, **getMyCommands**, **deleteMyCommands**, **setMyCommands**. Added class **BotCommandsArray** | 2.2.0 | 08/01/2022 |
| Implemented methods: **sendPhoto**, **deleteMessage**, **answerCallbackQuery**, **pinChatMessage**, **unpinChatMessage** | 2.1.0 | 08/01/2022 |