TelegramBotAPI v2.0.0 Release Notes

  • 🚚 ALL PREVIOUS DEPRECATIONS HAVE BEEN REMOVED

    • 🏗 Behaviour Builder:
      • Mappers have been removed from waiters extensions
      • Triggers extensions now will use filtering inside of context receiver instead of passing the filters into BehaviourContext. That means that in the subcontext will not be used preinstalled filters for their BehaviourContext and filter of trigger will not be used in subcontext
      • Waiters do not take count parameter anymore
      • Waiters do not take filter parameter anymore. Use flows filters
    • Utils:
      • Add opportunity to get event messages with specific ChatEvent type using withEvent/requireWithEvent (by analog with withEvent and requireWithEvent)