Lonami Exo
9ca4471bcd
Allow passing entities instead input_peers and more*
...
Some fixes to the interactive client (not handling
invalid options, errors when uploading files)
2017-01-17 20:22:47 +01:00
Fadi Hadzh
d087941bd0
Many code-style improvements
2016-11-30 00:29:42 +03:00
Lonami Exo
d290a569c5
Added webp mime type (useful when downloading stickers)
2016-11-13 14:51:50 +01:00
Lonami
a42effc2b5
Externalized TelegramClient utilities and added more
2016-10-09 12:57:38 +02:00
Lonami
77aa37d2ad
Added an .empty() function to the objects, fixes to msgs_ack
...
The .empty() function returns an "empty" instance of the object
(attributes set to None). This is used rather than using reflection.
The msgs_ack handling broke stuff (InvokeWithLayer when there were
updates), so this is now handled; yet there may be a better fix
2016-09-26 17:18:25 +02:00
Lonami
ded655911e
Added ability to both read and write vectors*
...
This change affects the BinaryReader and BinaryWriter
Note that it only allows to write vectors of **TLObjects**,
not any other type
2016-09-26 16:10:07 +02:00
Lonami
36b8a9026f
Fixed revert by hand (I hope)
2016-09-26 13:13:11 +02:00
Lonami
b68772aab5
Fixed JSON encoding and decoding for lists, added empty() method
...
The new empty() method retrieves an empty instance of the
given object, with all the attributes set to None
2016-09-25 10:50:48 +02:00
Lonami
51a531225f
Totally refactored source files location
...
Now it *should* be easier to turn Telethon
into a pip package
2016-09-17 20:45:12 +02:00