teledart_app library
Classes
- Command
- Base class for telegram command handler
- ComplexCommand
- Special command type, allows to separate business logic into different functions
- TeledartApp
- Main App class. Should be subclassed to create custom application
- TelegramEx
- Token is needed for some operations like file downloading, but original class save it to private variable, so we need this class only to make token accessible.
Enums
Mixins
- AsyncErrorHandler
- MessageDeleter
- Helper mixin to clean chat from temporary messages
- Middleware
- Should be applied to every class witch intended to be used as middleware
Extensions
- MarkdownV2 on String
Typedefs
- AsyncErrorHandlerFunction = void Function(Object exception, dynamic trace, dynamic additionalData)
- CmdAction = dynamic Function(Message message, TelegramEx telegram)
- CommandConstructor = Command Function()
- MiddlewareConstructor = Middleware Function()