Commit Graph

3130 Commits

Author SHA1 Message Date
Lonami Exo
6be93c69ed Handle UpdateShortSentMessage in send_message 2023-10-14 01:25:06 +02:00
Lonami Exo
816f6012a9 Support more chats in resolve_to_packed 2023-10-14 01:21:59 +02:00
Lonami Exo
c91ce98a25 Fix handling of salts and container buffer 2023-10-14 01:21:33 +02:00
Lonami Exo
6ed279e773 Improve handling of remote config 2023-10-13 22:59:56 +02:00
Lonami Exo
b4f9d3d720 Improve error handling in transports 2023-10-13 22:59:56 +02:00
Lonami Exo
42633882b5 Make logs more consistent 2023-10-13 22:59:56 +02:00
Lonami Exo
236c2f7e7c Remove TODOs 2023-10-13 22:59:56 +02:00
Lonami Exo
b31f4fe063 Use logger 2023-10-12 21:10:00 +02:00
Lonami Exo
325f1ca27d Update changelog 2023-10-12 20:46:57 +02:00
Lonami Exo
994d07ba05 Continue documentation 2023-10-12 19:31:41 +02:00
Lonami Exo
034bf304bb Enable and use ruff 2023-10-12 18:17:41 +02:00
Lonami Exo
7fabf7da0a Continue documentation and reducing public API 2023-10-08 15:07:39 +02:00
Lonami Exo
25a2b53d3f Continue implementing file and message 2023-10-02 23:26:40 +02:00
Lonami Exo
4df1f4537b Complete migration guide from other bot libraries 2023-10-01 13:37:28 +02:00
Lonami Exo
18895748c4 Continue implementation and documentation 2023-09-30 17:13:24 +02:00
Lonami Exo
6a880f1ff1 Add missing implementations 2023-09-17 22:54:52 +02:00
Lonami Exo
5f4470dd57 Fix step could complete all at once 2023-09-17 22:53:52 +02:00
Lonami Exo
2541c409e2 Add username to session
Needed by filters.Command.
2023-09-17 22:53:26 +02:00
Lonami Exo
8c00d2f088 Update error types used by generator 2023-09-17 22:49:10 +02:00
Lonami Exo
6f6618f251 Use cryptg when available 2023-09-17 22:48:17 +02:00
Lonami Exo
495de58925 Expand docs on migration guide 2023-09-16 19:13:00 +02:00
Lonami Exo
22f15303a5 Add errors factory skeleton 2023-09-16 19:12:41 +02:00
Lonami Exo
0e586abefe Add ChatType filter 2023-09-14 21:32:21 +02:00
Lonami Exo
604d95a807 Document most methods and classes 2023-09-14 21:17:24 +02:00
Lonami Exo
569ff3d372 Split check and fmt tools 2023-09-13 20:15:49 +02:00
Lonami Exo
9e43700f55 Fix docgen in strict mode 2023-09-13 20:07:07 +02:00
Lonami Exo
5376905e3d Address type checks 2023-09-13 19:39:01 +02:00
Lonami Exo
b62327308b Add documentation 2023-09-13 19:01:16 +02:00
Lonami Exo
e36c35c805 Begin preparing client for documentation 2023-09-13 19:00:47 +02:00
Lonami Exo
80fefca2e9 Simplify copying generated Client signatures 2023-09-13 19:00:10 +02:00
Lonami Exo
c57543d79a Init connection on the DC from the session 2023-09-12 20:55:46 +02:00
Lonami Exo
9e5eb619e1 Make disconnection more resilient 2023-09-12 20:55:25 +02:00
Lonami Exo
f2b8a91fa9 Fix loading of SqliteSession 2023-09-12 20:54:49 +02:00
Lonami Exo
03a85dfd1a Add interactive_login 2023-09-12 20:54:22 +02:00
Lonami Exo
aa83e7b043 Add session storages 2023-09-10 19:54:05 +02:00
Lonami Exo
16de3b274c Trim down client functions to MVP level 2023-09-03 19:01:05 +02:00
Lonami Exo
4ef3e63a88 Implement update dispatching 2023-09-03 18:47:47 +02:00
Lonami Exo
8727b87130 Remove unintended private imports and simplify sig copy 2023-09-03 11:03:07 +02:00
Lonami Exo
e4d88e061d Create Python tools in favour of shell scripts
Python is likely to be installed when working on Python code,
which should make it more portable and consistent.
2023-09-03 11:00:48 +02:00
Lonami Exo
9c888b83da Run sphinx-quickstart 2023-09-03 10:59:27 +02:00
Lonami Exo
e642ccfc4d Update layer and move File out to types 2023-09-03 00:16:05 +02:00
Lonami Exo
4b2d252fe1 Significantly clean-up imports
Sure wish I would've automated this.
2023-09-02 23:19:04 +02:00
Lonami Exo
f75acee7e8 Automatically generate Client methods 2023-09-02 21:09:40 +02:00
Lonami Exo
938126691c Implement file-related methods 2023-09-02 20:37:19 +02:00
Lonami Exo
c44eb12c60 Rename input_as_peer 2023-09-02 20:36:50 +02:00
Lonami Exo
2cabf6aa25 Make getting messages more usable 2023-09-02 01:29:35 +02:00
Lonami Exo
0dfa232070 Fix user login 2023-09-02 01:18:10 +02:00
Lonami Exo
49c0645fcb Fix full transport overreading 2023-09-02 01:15:10 +02:00
Lonami Exo
5e43efc55d Implement message-related methods 2023-09-02 00:49:20 +02:00
Lonami Exo
c46387f7bf Make Session more convenient to use 2023-09-02 00:48:26 +02:00