Take into account that flags:# could be not always the first argument · dotlambda/pyrogram@c7b1d6f · GitHub
Skip to content

Commit c7b1d6f

Browse files
committed
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.
1 parent a50dba2 commit c7b1d6f

2 files changed

Lines changed: 28 additions & 26 deletions

File tree

compiler/api/compiler.py

Lines changed: 28 additions & 24 deletions

compiler/api/template/mtproto.txt

Lines changed: 0 additions & 2 deletions

0 commit comments

Comments
 (0)