Lonami Exo
|
56ddaaee6f
|
Make non-fwded messages sent to yourself outgoing
|
2018-06-16 17:35:24 +02:00 |
|
Lonami Exo
|
7cfecfaf21
|
Support pathlib.Path on download/upload
|
2018-06-16 17:01:20 +02:00 |
|
Lonami Exo
|
cbd5594dba
|
Use the correct clock time when sleeping on iter_messages
|
2018-06-15 17:09:16 +02:00 |
|
Lonami Exo
|
509fba8bcc
|
Fix-up isinstance/is_user_authorized from 06cdf1f
|
2018-06-15 13:01:16 +02:00 |
|
Lonami Exo
|
b7286be3b0
|
Get the "correct" chat in private incoming messages
|
2018-06-15 12:46:41 +02:00 |
|
Lonami Exo
|
31c94ec184
|
Add a lock for resolving events
|
2018-06-15 10:11:43 +02:00 |
|
Dan Elkouby
|
df15ee421c
|
Except connection timeouts in MTProtoSender
|
2018-06-15 10:58:29 +03:00 |
|
Lonami Exo
|
24d2074e0c
|
Set _input_chat on custom.Message creation/fixup input_chat
|
2018-06-14 23:40:44 +02:00 |
|
Lonami Exo
|
091b03c635
|
Use create_task instead ensure_future
|
2018-06-14 23:33:56 +02:00 |
|
Lonami Exo
|
f95400ea7e
|
Try again to get input_chat on EventsCommon
|
2018-06-14 23:26:04 +02:00 |
|
Lonami Exo
|
06cdf1fdb0
|
Raise on phone/network migrate if authorized
|
2018-06-14 23:16:00 +02:00 |
|
Lonami Exo
|
c788e17c22
|
Fix _handle_update not expanding Updates
|
2018-06-14 22:51:57 +02:00 |
|
Lonami Exo
|
179af9894f
|
Add missing parenthesis around await
|
2018-06-14 22:25:03 +02:00 |
|
Lonami Exo
|
0f14f3b16a
|
Support custom event loops
|
2018-06-14 19:35:12 +02:00 |
|
Lonami Exo
|
908dfa148b
|
Revisit codebase to add missing async/await
|
2018-06-14 17:09:20 +02:00 |
|
Lonami Exo
|
1247d050ab
|
Remove unused fields from the Sessions
Most of the stuff didn't actually need to be saved and only
belong to the MTProtoState which is not a separate class from
the sessions.
|
2018-06-14 17:04:15 +02:00 |
|
Lonami
|
bb3a564500
|
Merge pull request #843 from LonamiWebs/core-rewrite
Core rewrite
|
2018-06-14 16:25:28 +02:00 |
|
Lonami Exo
|
5bb2f50232
|
Handle Msg state/resend/all (from 7c0af2c by @andr-04)
|
2018-06-14 16:23:16 +02:00 |
|
Lonami Exo
|
4a9eb5b085
|
Handle OSError on MTProtoSender
|
2018-06-14 16:16:11 +02:00 |
|
Lonami Exo
|
df1dfdf8ea
|
Remove some redundant except
|
2018-06-14 16:13:46 +02:00 |
|
Lonami Exo
|
c9ea1bafc0
|
Apply @andr-04 asyncio commits to TcpClient
|
2018-06-14 16:08:23 +02:00 |
|
Lonami Exo
|
3ce8b17193
|
Dispatch updates to event handlers
|
2018-06-13 16:20:15 +02:00 |
|
Lonami Exo
|
898ce34c65
|
Set __all__ on telethon.__init__.py
|
2018-06-13 11:50:36 +02:00 |
|
Lonami Exo
|
a91109c9fa
|
Retry send_code_request on AuthRestartError
|
2018-06-13 10:55:37 +02:00 |
|
Lonami Exo
|
f3f0c28505
|
Support converting .tl -> .json
|
2018-06-13 10:48:35 +02:00 |
|
Lonami Exo
|
8a787e90c2
|
Remove send/recv locks
There is only one method sending and one method receiving,
so it doesn't make sense to lock-protect those operations.
|
2018-06-13 10:04:27 +02:00 |
|
Lonami Exo
|
3324090c96
|
Fix non-asyncio sleep
|
2018-06-13 09:59:30 +02:00 |
|
Lonami Exo
|
3f16c92eb3
|
Subclass TLRequest for content-related objects
|
2018-06-12 20:14:21 +02:00 |
|
Lonami Exo
|
d1afc70963
|
Fix setting Pong results
|
2018-06-12 19:46:37 +02:00 |
|
Lonami Exo
|
d4dc147459
|
Handle DraftMessageEmpty (closes #844)
|
2018-06-12 19:25:13 +02:00 |
|
Lonami Exo
|
2a90de2b08
|
Fix broadcast being named post for is_group property
|
2018-06-12 12:31:37 +02:00 |
|
Lonami Exo
|
f9cd220ddd
|
Implement _get_exported_sender
|
2018-06-11 20:05:10 +02:00 |
|
Lonami Exo
|
64dd957189
|
Fix None first_query and TcpClient.disconnect()
|
2018-06-11 19:51:01 +02:00 |
|
Lonami Exo
|
0c25bf29b4
|
Add missing parenthesis
|
2018-06-11 13:43:08 +02:00 |
|
Jeff
|
cea75a4365
|
Adds new docs index for methods can be used as bots (#840)
|
2018-06-11 13:36:32 +02:00 |
|
Lonami Exo
|
f581db294a
|
Better custom.MessageButton.click() docs
|
2018-06-11 10:25:57 +02:00 |
|
Lonami Exo
|
aa6d3430ae
|
Properly handle bot timeouts when clicking buttons
|
2018-06-11 10:20:22 +02:00 |
|
Lonami Exo
|
f86f52d960
|
Fix async_generator's and missing awaits
|
2018-06-10 22:00:55 +02:00 |
|
Lonami Exo
|
8be6adeab4
|
Make use of the async_generator module
|
2018-06-10 21:50:28 +02:00 |
|
Lonami Exo
|
15ef302428
|
Implement _switch_dc/fix missing first request
|
2018-06-10 21:30:31 +02:00 |
|
Lonami Exo
|
4a491e45ce
|
Fix broken debug call
|
2018-06-10 21:02:22 +02:00 |
|
Lonami Exo
|
d462b04a9c
|
Add async/await on tl.custom
|
2018-06-10 20:29:57 +02:00 |
|
Lonami Exo
|
1bde72d375
|
Make the TelegramClient aggregate all client methods
|
2018-06-10 19:05:36 +02:00 |
|
Lonami Exo
|
fb8b052754
|
Separate update requests from the TelegramClient
|
2018-06-10 13:58:21 +02:00 |
|
Lonami Exo
|
ac2e59b472
|
Separate auth requests from the TelegramClient
|
2018-06-10 12:57:36 +02:00 |
|
Lonami Exo
|
4ff0756ffc
|
Separate download requests from the TelegramClient
|
2018-06-10 12:04:23 +02:00 |
|
Lonami Exo
|
317b7053a0
|
Separate parse message methods from uploads
|
2018-06-10 11:33:20 +02:00 |
|
Lonami Exo
|
83a024656c
|
Rename client.files as client.uploads
|
2018-06-09 22:14:51 +02:00 |
|
Lonami Exo
|
ad29f2f5b7
|
Separate chat requests from the TelegramClient
|
2018-06-09 22:13:18 +02:00 |
|
Lonami Exo
|
1e91e5a83c
|
Separate dialogs methods from the TelegramClient
|
2018-06-09 22:09:02 +02:00 |
|