Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Televerse v1.15.10 #240

Merged
merged 20 commits into from
Apr 15, 2024
Merged

🚀 Televerse v1.15.10 #240

merged 20 commits into from
Apr 15, 2024

Conversation

HeySreelal
Copy link
Member

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.

@HeySreelal HeySreelal merged commit 076497b into main Apr 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant