Skip to content

Release 1.0.33

Choose a tag to compare

@bvdcode bvdcode released this 28 Jun 04:03
· 9 commits to main since this release
Enhance Telegram bot with new features and improvements

- Updated `HandleStartAsync` in `README.md` to include new command handlers and response types.
- Renamed `adminId` to `chiefUserId` in `CafeController.cs` and modified message handling.
- Added `HandleReceipt` method to generate and return a receipt as text and image.
- Updated `HandleByeAsync` to remove reply keyboard in `QueryController.cs`.
- Registered new `/counter` command in `Program.cs` for both English and Russian.
- Upgraded target framework to `net9.0` and updated package references in `TelegramBot.ConsoleTest.csproj`.
- Refactored `ExecuteResultAsync` methods in `InlineResult.cs` and `MarkdownResult.cs` for performance.
- Added `RemoveReplyKeyboard` property in `TextResult.cs` for better message handling.
- Set console output encoding to UTF-8 in `BotBuilder.cs`.
- Enhanced `BotControllerBase.cs` with new methods for editing messages and combining action results.
- Introduced `CounterController.cs` for managing a simple counter with logging.
- Added new result classes: `DeleteMessageResult`, `ImageResult`, `InlineEditResult`, `MultiActionResult`, and `TextEditResult`.
- Improved `ImageResult` to support stream disposal after sending.