Commit Graph

30 Commits

Author SHA1 Message Date
Jahongir Qurbonov
4a591cee8a
Bump required Python version (#4491) 2024-10-19 15:55:33 +02:00
Jahongir Qurbonov
86d41e1f06
[V2] Upgrade ruff and mypy version, format files (#4474) 2024-10-06 20:05:11 +02:00
Lonami Exo
e4d88e061d Create Python tools in favour of shell scripts
Python is likely to be installed when working on Python code,
which should make it more portable and consistent.
2023-09-03 11:00:48 +02:00
Lonami Exo
c46387f7bf Make Session more convenient to use 2023-09-02 00:48:26 +02:00
Lonami Exo
7b707cfc6c Port tl-types fromm grammers 2023-07-05 22:35:18 +02:00
Lonami Exo
fed06f40ed Port tl-gen from grammers 2023-07-03 19:19:20 +02:00
Lonami Exo
fb41cc0546 Reboot project 2023-06-11 15:43:08 +02:00
Lonami Exo
cd51c9e47c Get rid of the patched/ module
This may fix #1669.
2021-01-14 22:56:55 +01:00
Lonami Exo
4ce2c0017a Somewhat improve packaging situation (#1605) 2020-10-25 10:50:12 +01:00
Lonami Exo
aac4d03a70 Cleanup .gitignore to contain only what's needed 2020-10-25 10:26:06 +01:00
Lonami Exo
7790307595 Remove the (out of date) .nix files from the repo 2020-10-24 12:04:36 +02:00
bb010g
13e9119573 Create Nix package expressions (#1246) 2019-07-30 15:31:53 +02:00
josephbiko
3dd8b7c6d1 Support async def in sessions (#1013) 2018-10-05 20:25:49 +02:00
Lonami Exo
0e38ab412b Update examples to make them easier to run 2018-09-04 11:52:18 +02:00
Lonami Exo
61a9f1e61c Create a third module to store patched objects 2018-07-22 19:12:09 +02:00
Lonami Exo
4e9a84c3b5 Remove underscore from module names 2018-06-18 21:02:42 +02:00
Lonami Exo
1f8316c0bb Fix import errors for the documentation generator 2018-04-14 21:15:58 +02:00
Lonami Exo
7d4453351b Update .gitignore to include docs/_build 2017-11-21 12:56:53 +01:00
Lonami Exo
be9358282a Generate and fetch new errors from setup.py 2017-10-20 17:29:45 +02:00
Lonami Exo
38ccd6d1d9 Generate errors from PWRTelegram's API 2017-10-20 17:20:05 +02:00
Lonami Exo
56e81c05d6 Revert "Designed Logo, added to README (#283)"
This reverts commit a6099f92bf.
2017-10-03 09:23:22 +02:00
Joscha Götzer
a6099f92bf Designed Logo, added to README (#283) 2017-10-02 16:06:11 +02:00
Lonami Exo
c02fbae5aa Allow creating a new parallel connection (closes #102) 2017-06-15 15:50:44 +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
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