Commit Graph

5 Commits

Author SHA1 Message Date
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
44a3a4d69b Add pyrogram.txt template 2018-04-01 13:08:37 +02:00