Implemented read code on TLObjects Generator

The code generated by the generator now also writes the files
on_response(...) method. Also, all the generated files are
saved in a dictionary containing `constructorId: class`
This commit is contained in:
Lonami
2016-08-27 21:49:38 +02:00
parent 06832f8108
commit f00329265d
5 changed files with 161 additions and 29 deletions

View File

@@ -24,5 +24,6 @@ In order to make sure that all the generated files will work, please make sure t
// vector#1cb5c415 {t:Type} # [ t ] = Vector t;
```
Also please make sure to rename `updates#74ae4240 ...` to `updates_tg#74ae4240 ...` or similar to avoid confusion between the updates folder and the updates.py file!