Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: simplify traits with macros (#210)
* refactor!: use MessageOrBool over EditMessageResponse BREAKING CHANGE: EditMessageResponse is gone * fix: always take params reference BREAKING CHANGE: all params are now by reference and are not moved anymore * refactor!: create trait methods via macro BREAKING CHANGE: AsyncTelegramApi requires Sync. This was likely the case before via `#[async_trait]` but wasn't explicitly specified. * refactor: inline request_without_body BREAKING CHANGE: request_without_body method is gone. probably not relevant as its mainly used internally * fixup! refactor!: create trait methods via macro
- Loading branch information