2023-02-20 21:47:32 -05:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog ](https://keepachangelog.com/en/1.0.0/ ),
and this project adheres to [Semantic Versioning ](https://semver.org/spec/v2.0.0.html ).
2023-04-06 13:17:33 -04:00
## [6.6.0] - Unreleased
2023-02-28 22:19:59 -05:00
2023-04-06 13:22:09 -04:00
### Added
* Added the ability to set different bot descriptions for different user languages using the method `\TgBotLib\Bot > setMyDescription()`
2023-04-06 13:39:51 -04:00
see [setMyDescription ](https://core.telegram.org/bots/api#setmydescription ) for more information.
2023-04-06 13:33:29 -04:00
* Added the ability to get the current bot description in the given language as the class [BotDescription ](https://core.telegram.org/bots/api#botdescription )
2023-04-06 13:39:51 -04:00
using the method `\TgBotLib\Bot > getMyDescription()` see [getMyDescription ](https://core.telegram.org/bots/api#getmydescription ) for more information.
* Added the ability to set different bot short descriptions for different user languages using the method `\TgBotLib\Bot > setMyShortDescription()`
see [setMyShortDescription ](https://core.telegram.org/bots/api#setmyshortdescription ) for more information.
2023-04-06 13:22:09 -04:00
2023-02-28 22:19:59 -05:00
### Changed
* Removed unused `__destruct()` method from `\TgBotLib\Bot`
2023-02-28 21:06:05 -05:00
* Added proper construction for `PollOption[]` objects in `TgBotLib\Objects\Telegram > Poll`
2023-02-26 19:25:10 -05:00
## [6.5.2] - 2023-02-26
2023-02-26 17:43:15 -05:00
### Added
* Added dependency `net.nosial.tempfile` to create temporary files when uploading content from memory.
* Added `\TgBotLib\Abstracts > ChatActionType`
2023-02-26 19:24:11 -05:00
* Added logging events to `\TgBotLib\Bot > handleUpdate()`
### Fixed
* Fixed file uploads when trying to upload content from memory.
2023-02-26 17:43:15 -05:00
2023-02-23 12:55:22 -05:00
## [6.5.1] - 2023-02-23
### Fixed
2023-02-26 17:43:15 -05:00
* Added a null-safe check for `Poll` 's `explanation_entities` field. [#1 ](https://git.n64.cc/nosial/libs/tgbot/-/issues/1 )
2023-02-23 12:55:22 -05:00
## [6.5.0] - 2023-02-20
2023-02-20 21:47:32 -05:00
### Added
2023-02-26 17:43:15 -05:00
* First Release