Commit graph

19 commits

Author SHA1 Message Date
Alex Root Junior
247ffbef69
3.x Bot API 6.1 (#937)
Added support of Bot API 6.1
2022-06-25 18:14:29 +03:00
Alex Root Junior
9b43a33b7f
Dev 3.x api 5.4 (#744)
* Re-generate API

* Added new modules

* Added handling new event type and approve/decline aliases for ChatJoinRequest

* Fixed code-coverage

* Bump API version

* Added patch-notes
2021-11-08 02:37:37 +02:00
Alex Root Junior
e4046095d7
Dev 3.x i18n & improvements (#696)
* Added base code and make code improvements
* Auto-exclude coverage for `if TYPE_CHECKING:`
* Fixed current coverage
* Cover I18n module
* Update pipeline
* Fixed annotations
* Added docs
* Move exceptions
* Added tests for KeyboardBuilder and initial docs
* Remove help generator (removed from sources tree, requires rewrite)
* Added patch-notes #698, #699, #700, #701, #702, #703
2021-09-22 00:52:38 +03:00
Alex Root Junior
4008a3114d
Upgrade architecture + 5.0 Bot API (#469)
Upgrade architecture + 5.0 Bot API (#469)
* Moved `methods`, `types` and `client` to root package
* Removed update handler from routers to dispatcher
* Reworked events propagation mechanism to handlers
* Reworked inner middlewares logic (very small change)
* Updated to Bot API 5.0
* Initial migration from MkDocs to Sphinx + config for readthedocs
2021-01-26 21:20:52 +02:00
jrootjunior
bdae5fb026 Clean project 2019-11-15 12:17:57 +02:00
Alex RootJunior
7c51b1a7d7 Add Black and Flake8 2019-06-29 19:53:18 +03:00
Alex Root Junior
8490306096 Refactor types. 2018-01-24 02:29:48 +02:00
Alex Root Junior
44a24b243c Make some types hashable. 2017-10-22 17:18:44 +03:00
Alex Root Junior
84c8548ceb New types (In process...) 2017-10-12 16:43:23 +03:00
Alex Root Junior
00cc42c216 Remove old code. (2) 2017-09-27 09:07:14 +03:00
Alex Root Junior
92d3d86a18 Reformat code. 2017-08-14 22:34:13 +03:00
Alex Root Junior
9e894cf06b I think it will always be valid. (remove Deserializable.check_json) 2017-07-29 03:24:50 +03:00
Alex Root Junior
0b8a37b38a Add some doc's 2017-06-06 15:02:27 +03:00
Alex Root Junior
07c7c1f32a Refactoring. 2017-06-02 03:01:28 +03:00
Alex Root Junior
4dba8f534e Reformat code. Use rel imports. 2017-05-26 07:55:05 +03:00
Alex Root Junior
8350483c98 Add all deserializable types. 2017-05-26 07:25:37 +03:00
Alex Root Junior
716865695c Configure Deserializable object. (Set bot for types) and stop using __slots__ 2017-05-26 05:21:32 +03:00
Alex Root Junior
0d6af5bc8d Rename data -> raw_data 2017-05-26 03:51:21 +03:00
Alex Root Junior
a315d6d390 Add types: Audio, Document, PhotoSize, Sticker, Video, VideoNote, CallbackQuery, Contact, File, Location, UserProfilePhotos, Venue, Voice 2017-05-26 03:27:22 +03:00