Commit Graph

14 Commits

Author SHA1 Message Date
Dan
d5517f4d5f Rename Object to TLObject 2019-06-03 14:19:50 +02:00
Dan
6bd9ddc95e Add __slots__ to Telegram TL types 2019-03-16 15:30:55 +01:00
Dan
c7b1d6f70a Take into account that flags:# could be not always the first argument
For instance, in Layer 91, Poll's flags:# is at the second position.
This mess also happened in the past (thanks tg devs) and eventually will
be fixed again with the next Layer update, but from now on Pyrogram
will be able to correctly generate code even in such cases.
2019-01-05 15:40:40 +01:00
Dan
e066d6740c Revert "Move ids at the top"
This reverts commit c65706f
2018-04-28 09:05:44 +02:00
Dan
c65706f41e Move ids at the top 2018-04-25 12:43:36 +02:00
Dan
6e78935857 Accommodate the new types 2018-04-24 16:08:33 +02:00
Dan
124ec40300 Inherit again from Object 2018-04-03 10:54:29 +02:00
Dan
44a3a4d69b Add pyrogram.txt template 2018-04-01 13:08:37 +02:00
Dan
74d1d99697 Update compiler 2018-03-26 13:51:56 +02:00
Dan
ef71dcf56a Remove **kwargs for generated classes (function/types) 2018-03-23 13:46:43 +01:00
Dan
310adbb76f Add docstrings for generated code 2018-01-03 17:40:38 +01:00
Dan
cb509ba4db Accept optional keyword arguments 2017-12-06 21:27:57 +01:00
Dan
fb4ae4b17e Fix method signatures for generated classes 2017-12-06 19:31:30 +01:00
Dan
28704b9326 Add API compiler 2017-12-05 12:16:39 +01:00