Commit Graph
18 Commits
Author SHA1 Message Date
Lonami 7e78b1b6dc Added ability to upload and send media, and more fixes
Uploading and sending media are different things.
Once you have uploaded a media file, you can send
it to many users without uploading it again, since
you have a handle to the uploaded file.

Other fixes include not showing additional data
on error messages and not generating correct
code for sending bytes
2016-09-11 13:10:27 +02:00
Lonami c11795f294 Added native support for Python's datetime object
Now you can make up your Telegram Requests by using
the built-in `datetime` instead of manually parsing it
2016-09-11 10:35:02 +02:00
Lonami b2425eeea9 Completely refactored unit tests, removed unused code 2016-09-08 16:11:37 +02:00
Lonami e6706080ad Improved TcpClient receive 2016-09-07 19:48:49 +02:00
Lonami 251c1830a5 Added custom errors, fixes to code generator
The code generator now handles okay the flags using True type
Also, double checking for the flag is now avoided in cases where the
flag was a Vector type
2016-09-05 18:35:12 +02:00
Lonami b027dd2c8f Fixed tiny bugs with authentication, added more unit tests 2016-09-04 21:07:09 +02:00
Lonami 7c8c65560e Refactored imports 2016-09-04 13:04:45 +02:00
Lonami 39a23559f0 First attempt at TelegramClient. Added fixes and doc 2016-09-04 11:07:18 +02:00
Lonami c863537b7b Finished authenticator (now it works!) 2016-09-03 20:34:24 +02:00
Lonami 75892afb2e Reached Authenticator's step 3 2016-09-03 16:46:40 +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 12cb66ab2c Reviewed authenticator.py 2016-08-30 17:40:49 +02:00
Lonami e712a9bf61 Wrote unit tests and found and fixed bugs 2016-08-30 13:12:59 +02:00
Lonami 557ec70237 Added authenticator 2016-08-28 19:26:06 +02:00
Lonami bd1fee4048 Added and updated documentation 2016-08-28 13:55:05 +02:00
Lonami f00329265d 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`
2016-08-27 21:49:38 +02:00
Lonami 06832f8108 Implemented init and write code on TLObjects Generator
The code generated by the generator now classifies the output files
in their corresponding categories, also writing their __init__(...)
with documented arguments, and the on_send(...) method
2016-08-27 11:59:23 +02:00
Lonami 1dac866118 Initial release
The initial release contains the most basic implementation of TLSharp core.
This is also fully untested, since no test can be done until more work is done.
2016-08-26 12:58:53 +02:00