Commit Graph

7 Commits

Author SHA1 Message Date
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
Lonami
9420e15283 Gave more power to the TelegramClients and bug fixes
Fixed uploads for large files on TcpClient
Added more RPCError's for handling invalid phone code
Added more media handlers: now you're also able to
  both send and download documents!
The InteractiveTelegramClient now supports working
  with media aswell
2016-09-12 19:32:16 +02:00
Lonami
13f7e6170f Added ability to download message media*
* Although this was already supported, now the
`InteractiveTelegramClient` has a command for it
2016-09-12 15:39:23 +02:00
Lonami
39a23559f0 First attempt at TelegramClient. Added fixes and doc 2016-09-04 11:07:18 +02:00
Lonami
75a648f438 Several fixes to authenticator, added more unit tests
Some fixes include, in more detail:
- Using little over big endianess in some parts
- Flagging all the constructor numbers as unsigned
- Fixed bugs with factorizer
- Implemented TLSharp's RSA
2016-09-03 10:54:58 +02:00
Lonami
5af1a4a5fc Added more docstrings, edited readme 2016-08-28 10:38:46 +02:00
Lonami
1974569927 Added a .tl file tokenizer and parser
A TLObject class has been added, as well as a method for tokenizen .tl files.
A TLObject can be created by simply calling `TLObject.from_tl(tl_line)`,
  this will tokenize the .tl line and return a new TLObject with all
  the required properties extracted.
Also added another method to load .tl files and yield TLObjects, including
  a SourceBuilder that can be later used to generate Python code.
2016-08-26 19:12:20 +02:00