Commit Graph

381 Commits

Author SHA1 Message Date
Lonami Exo
2db0725b98 Fix generating error names in TL ref 2022-01-09 14:41:04 +01:00
Lonami Exo
e3b1dc2059 Make to_dict dynamic 2021-09-26 18:30:08 +02:00
Lonami Exo
86c47a2771 Use __slots__ in all generated classes 2021-09-26 17:52:16 +02:00
Lonami Exo
debde6e856 Completely overhaul errors to be generated dynamically 2021-09-24 20:12:00 +02:00
Lonami Exo
431a9309e3 Remove mark from peer_id 2021-09-18 16:29:45 +02:00
Lonami Exo
eb659b9a58 Fix _write_all_tlobjects call 2021-09-13 20:43:44 +02:00
Lonami Exo
499fc9f603 Move alltlobjects.py and fix imports 2021-09-12 16:58:06 +02:00
Lonami Exo
5fd2a017b2 Fix imports 2021-09-12 16:23:55 +02:00
Lonami Exo
f222dc167e Fix imports 2021-09-12 13:27:13 +02:00
Lonami Exo
28956496fc Adapt generator to new subpackage path 2021-09-12 12:35:48 +02:00
Lonami Exo
d48649602b Replace most raw API usage with new location 2021-09-12 12:16:02 +02:00
Lonami Exo
2a933ac3bd Remove sync hack 2021-09-11 14:06:36 +02:00
Lonami Exo
3f5f5dbe48 Update documentation and list of known errors
Closes #3151.
2021-09-11 11:02:10 +02:00
Shrimadhav U K
28d3d4b122
Update to layer 133 (#3155) 2021-09-11 10:54:11 +02:00
Shrimadhav U K
2182e7f6f1
Update to layer 132 (#3142) 2021-08-31 15:22:56 +02:00
Shrimadhav U K
0a4b827d8e
Document new known RPC errors (#3137) 2021-08-28 00:18:37 +02:00
Shrimadhav U K
6a1f29d953
Add new known RPC errors (#3134) 2021-08-20 11:49:12 +02:00
Devesh Pal
79866750d2
Add new known RPCErrors (#3114) 2021-07-20 23:04:09 +02:00
Shrimadhav U K
3570953d14
Update to layer 131 (#3112) 2021-07-16 21:01:08 +02:00
Lonami Exo
1e09e133e3 Document new known RPC errors
Courtesy of #3097.
2021-07-09 20:11:21 +02:00
Shrimadhav U K
ecfc6ae87d
Add pm_oneside parameter in pin_message (#3095) 2021-07-09 19:50:47 +02:00
Shrimadhav U K
7763939e7d
Update to layer 130 (#3098) 2021-07-09 19:47:13 +02:00
Devesh Pal
42bfc7bb3f
Fix inline force_document and new known RPC errors (#3084)
This should fix inline video notes.
2021-06-24 14:19:01 +02:00
Lonami Exo
2052b502c8 Update to v1.22 2021-06-19 19:08:02 +02:00
Anonymous
7c5efee1de
Update to layer 129 and other additions/enhancements (#3074)
* Apply code corrections for the new layer types.
* Support not passing `user` to `get_permissions`.
* `download_profile_photo` now supports `MessageService`.
* `thumb` in send and edit message.
* Document new known errors.
2021-06-15 22:57:32 +02:00
Lonami Exo
63f24d2282 Add new known RPC errors and update docs 2021-05-30 18:00:27 +02:00
Anonymous
85381713b2
Document new known RPC errors (#3057) 2021-05-15 10:49:55 +02:00
Alisa Sireneva
b2c26a53ef
Document new known RPC errors (#3044) 2021-05-05 20:38:43 +02:00
Lonami Exo
319b6283a9 Update install/test server docs and add new known RPC error 2021-04-21 19:56:57 +02:00
Lonami Exo
5b91adf62d Update documentation
Closes #1733.
2021-03-31 10:54:18 +02:00
Lonami Exo
2fbf850841 Update to layer 126
May help with #3010
2021-03-31 10:52:35 +02:00
Lonami Exo
b06f496a27 Don't treat False field as flag omission
8724949b54 was only half the story.
2021-03-16 08:21:04 +01:00
Lonami Exo
3d6a2bb945 Update to version 1.21 2021-03-14 11:31:03 +01:00
Lonami Exo
8f46f704b1 Update to layer 125
Closes #1728, should close #1724.
2021-03-14 10:58:33 +01:00
Lonami Exo
a1f91d6eb8 (De)serialize user_id as u32
https://t.me/BotNews/57.
2021-03-09 20:10:31 +01:00
Lonami Exo
3ee94bdc5e Update known errors and error message
Closes #1713
2021-03-07 16:09:47 +01:00
Lonami Exo
8724949b54 Don't omit False flag values from serialization 2021-03-07 16:05:09 +01:00
Andrew Lane
2c2a07d02f
Update to layer 124 (#1708) 2021-02-23 13:04:50 +01:00
Lonami Exo
79f6da2dac Update to layer 123 again 2021-02-06 12:35:53 +01:00
Lonami Exo
584e2b3743 Update list of RPC errors 2021-01-28 21:18:14 +01:00
Lonami Exo
4e73577d59 Update to layer 123 2021-01-28 19:48:01 +01:00
Lonami Exo
cd51c9e47c Get rid of the patched/ module
This may fix #1669.
2021-01-14 22:56:55 +01:00
Lonami Exo
b192c3e6a3 Update to v1.19 2021-01-05 19:58:41 +01:00
Lonami Exo
acd4c8648e Update layer and known errors again 2020-12-23 20:11:16 +01:00
Lonami Exo
4b6c69ac1e Update docs and list of errors
Includes the changes of #1654.
2020-12-19 20:33:20 +01:00
Andrew Lane
5011747f1f
Update to layer 122 (again) (#1650) 2020-12-14 18:50:55 +01:00
Lonami Exo
0a4d54fca4 Update to layer 122
Closes #1645.
2020-12-11 16:55:49 +01:00
Lonami Exo
0b0a1dc6a1 Add new known errors to the error list 2020-12-04 20:43:47 +01:00
Lonami Exo
e4a6ec40cd Update error documentation, summary and license year 2020-11-05 10:49:34 +01:00
x0x8x
78514110de
Update errors.csv (#1609) 2020-11-05 10:40:44 +01:00