tourmaline v0.13.0 Release Notes

Release Date: 2020-02-19 // 4 months ago
  • 🚀 This release introduces a couple of major changes to the way events are handled. Previously, only Command events had access to a Context; other events, such as On only had access to the Update object.

    📄 Now Command, On, and the new Action events all have their own contexts, specific to that event type. Check out the docs for more info.

    We now have access to the Action event, allowing much easier use of inline callback buttons. See the media_bot for an example.

Previous changes from v0.12.0

  • 🚀 In this release I refactored quite a bit.

    • 🚚 The Model namespace has been removed for the sake of brevity
    • The Markup class has been completely revamped
    • ➕ Added a QueryResultBuilder class to allow for easier inline query building