Lonami Exo
|
1fb3d0d00c
|
Fix EntityDatabase failing to cache self user
|
2017-10-05 13:34:11 +02:00 |
|
Lonami Exo
|
4f2a44231a
|
Allow disabling the EntityDatabase fully or partially
|
2017-10-05 13:06:51 +02:00 |
|
Lonami Exo
|
99cc0778bb
|
Allow EntityDatabase to be accessed by phone
|
2017-10-05 13:01:00 +02:00 |
|
Lonami Exo
|
a8edacd34a
|
Fix get_peer_id going into infinite recursion for InputPeerSelf
|
2017-10-05 12:59:44 +02:00 |
|
Lonami Exo
|
16f929b8b6
|
Fix .get_peer_id not working with full entities
|
2017-10-05 12:33:24 +02:00 |
|
Lonami Exo
|
10eca82143
|
Fix process_entities not working on list of entities
|
2017-10-05 12:29:52 +02:00 |
|
Lonami Exo
|
d2e244817a
|
Make EntityDatabase.get a no-op if key is an entity already
|
2017-10-05 12:28:04 +02:00 |
|
Lonami Exo
|
e5c4df98df
|
Use EntityDatabase on TelegramClient.get_entity instead lru_cache
|
2017-10-05 12:27:32 +02:00 |
|
Lonami Exo
|
a0fc5ed54e
|
Use EntityDatabase in the Session class
|
2017-10-04 21:02:45 +02:00 |
|
Lonami Exo
|
5be9df0eec
|
Add a basic EntityDatabase class
|
2017-10-04 13:58:36 +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
|
6c375a7aed
|
Add method to .delete_messages() (#282)
|
2017-10-02 18:59:29 +02:00 |
|
Joscha Götzer
|
a6099f92bf
|
Designed Logo, added to README (#283)
|
2017-10-02 16:06:11 +02:00 |
|
3bl3gamer
|
0f019f0476
|
Rename last subclass_of_id to upper case (#285)
|
2017-10-02 13:26:55 +02:00 |
|
Lonami Exo
|
ba147bbe10
|
Fix TgClient.get_input* not calling utils.get_input* when needed
|
2017-10-01 21:15:49 +02:00 |
|
Lonami Exo
|
43f796caab
|
Fix .get_dialogs() failing on Windows
|
2017-10-01 21:02:41 +02:00 |
|
Lonami Exo
|
3805aa3772
|
Update interactive example to show how to get user from updates
|
2017-10-01 20:12:27 +02:00 |
|
Lonami Exo
|
ace44965f8
|
Fix interactive client not receiving updates
|
2017-10-01 19:56:47 +02:00 |
|
Lonami Exo
|
d98fd6a424
|
Fix workers not stopping on .disconnect(), start them on login
|
2017-10-01 19:56:24 +02:00 |
|
Lonami Exo
|
62ea77cbea
|
Fix opposite condition on .get_dialogs
|
2017-10-01 19:45:42 +02:00 |
|
Lonami Exo
|
e717256937
|
Always use session ip address and port when connecting
|
2017-10-01 19:26:20 +02:00 |
|
Lonami Exo
|
269949595f
|
Allow phone as int on .sign_in (#278)
|
2017-10-01 19:02:53 +02:00 |
|
Lonami Exo
|
354ea1c0c8
|
Add ChannelPrivateError error
|
2017-10-01 18:53:12 +02:00 |
|
Lonami Exo
|
8c3a2470ed
|
Update to v0.15
|
2017-10-01 17:38:48 +02:00 |
|
Lonami Exo
|
d30fdbe778
|
Support "string" peers on .get_input_entity
|
2017-10-01 16:59:18 +02:00 |
|
Lonami Exo
|
8df4d7c4a5
|
Internal methods should use .get_input_entity
|
2017-10-01 16:54:11 +02:00 |
|
Lonami Exo
|
1cdf879888
|
Fix .get_input_entity failing for chats
|
2017-10-01 16:53:47 +02:00 |
|
Lonami Exo
|
1ded6d9d06
|
Expand Updates into Update objects before calling handlers
|
2017-10-01 16:30:27 +02:00 |
|
Lonami Exo
|
c61e168de4
|
Rename invoke to __call__
|
2017-10-01 16:04:14 +02:00 |
|
Lonami Exo
|
36dabc4928
|
Process entities from the MtProtoSender instead TelegramBareClient
This way, update objects will also be processed when they occur.
|
2017-10-01 16:02:29 +02:00 |
|
Lonami Exo
|
71b6e527a6
|
Allow using parenthesis or spaces in phones when .get_entity
|
2017-10-01 15:50:23 +02:00 |
|
Lonami Exo
|
5b6f9b6542
|
Add a new .get_input_entity method and use it on .get_entity
|
2017-10-01 14:19:04 +02:00 |
|
Lonami Exo
|
9bccd17881
|
Add an option to allow not saving/processing found entities
|
2017-10-01 13:32:27 +02:00 |
|
Lonami Exo
|
e4c5396c04
|
Add cross-thread safety when saving the session
|
2017-10-01 13:27:08 +02:00 |
|
Lonami Exo
|
a737f33324
|
Save all found entities to the session file
|
2017-10-01 13:27:08 +02:00 |
|
Tanuj
|
0a4a898c49
|
Remove random 'f' from auto_reply.py example
|
2017-10-01 12:57:20 +02:00 |
|
Lonami Exo
|
9445d2ba53
|
More enhancements on .sign_in from different clients (#278)
|
2017-10-01 11:37:18 +02:00 |
|
Lonami Exo
|
1d250a5441
|
Allow overriding phone on .sign_in (fix #278)
|
2017-10-01 11:31:26 +02:00 |
|
Lonami Exo
|
1d159908c7
|
Fix RPC excepts (e.g. UserMigrate) being in the wrong try
|
2017-10-01 11:25:56 +02:00 |
|
Lonami Exo
|
68e7d481f4
|
Add support to get all dialogs at once
|
2017-10-01 11:25:12 +02:00 |
|
Lonami Exo
|
06bb09b95c
|
Fix wrong .empty() due to variable shadowing (from ce48c97 )
|
2017-10-01 10:45:59 +02:00 |
|
Lonami Exo
|
ce48c9752e
|
Assert flag params with same flag index are all set/unset
|
2017-09-30 19:47:19 +02:00 |
|
Lonami Exo
|
a5ab49c707
|
Remove sleep on ServerError as per @danog's recommendation
|
2017-09-30 19:02:12 +02:00 |
|
Lonami Exo
|
33dbac6350
|
Add some missing BadRequest errors
|
2017-09-30 19:00:32 +02:00 |
|
Lonami Exo
|
c9dff552b8
|
Except ServerErrors and sleep a bit before retrying
|
2017-09-30 18:51:25 +02:00 |
|
Lonami Exo
|
76e5206acc
|
Raise ValueError if an unknown **kwarg is given
|
2017-09-30 18:45:56 +02:00 |
|
Lonami Exo
|
f1bca0fd06
|
Fix setting None update workers not causing all threads to stop
|
2017-09-30 18:44:37 +02:00 |
|
Lonami Exo
|
8c3c990e74
|
Remove UpdateState .set and .check error
|
2017-09-30 18:39:31 +02:00 |
|
Lonami Exo
|
933ae01d85
|
Change condition to perform automatic reconnection
|
2017-09-30 18:33:34 +02:00 |
|
Lonami Exo
|
b6bc9ac39b
|
Rename ._connect_lock to ._reconnect_lock
|
2017-09-30 18:25:09 +02:00 |
|