Skip to content

Commit

Permalink
🚀 Merge #240: Televerse v1.15.10
Browse files Browse the repository at this point in the history
  • Loading branch information
HeySreelal authored Apr 15, 2024
2 parents 41e181f + 8316232 commit 076497b
Show file tree
Hide file tree
Showing 13 changed files with 1,004 additions and 462 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
# 1.15.10

- Added `Bot.fromAPI` constructor for creating Bot instance from `RawAPI` instance.
- `Bot.command`, `Bot.text`, `Bot.hears`, and many more methods now listens to all Message types (Message, Channel Posts, and edited messages of both)
- ⚠️ Added `chatId` parameter to `Bot.shippingQuery` and `Bot.preCheckoutQuery`.
- Refactored code for quality and better readability and added docs.
- Added `ScopeOptions` class that can contain additional info for handler scope.
- `ScopeOptions.forked` to create forked handlers. Forked handlers are run without conditions.
- `ScopeOptions.customPredicate` can be used to set a middleware to check if the update should be processed or skipped.
- Migrated to `Dart 3.0.0`
- `Bot.removeScope` can be used to remove already set handlers.
- Accepts `ScopeOption` on both menus as well.

# 1.15.9

- Improved efficiency by removing redundant `getMe` calls while registering `command` handlers and `whenMentioned` handlers.
- Made `LongPolling.allowedUpdates` nullable, and removed the constant empty list initialization.
- Updated the README.


# 1.15.8

- Introducing `TGException` enum which is a collection of different possible Telegram exceptions binded with their reasons and possible solutions.
Expand Down
Loading

0 comments on commit 076497b

Please sign in to comment.