Dan
|
3f7b0b25af
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/methods/chats/get_chat_members.py
# pyrogram/client/methods/chats/get_dialogs.py
# pyrogram/client/methods/messages/send_animation.py
# pyrogram/client/methods/messages/send_venue.py
|
2018-08-22 10:30:25 +02:00 |
|
Dan
|
da436461a8
|
Revert "Move resolve_peer into utilities"
This reverts commit 6437c6c
|
2018-08-10 11:29:13 +02:00 |
|
Dan
|
6437c6c5be
|
Move resolve_peer into utilities
|
2018-08-10 11:17:53 +02:00 |
|
Dan
|
d270d0d2aa
|
Remove support for t.me/joinchat/ links in resolve_peer for now
Another way, which is 100% reliable, will be implemented
Also clean the method a bit by removing useless checks
|
2018-07-28 23:09:44 +02:00 |
|
Dan
|
8a69c2d74e
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/methods/messages/send_contact.py
|
2018-07-16 17:39:54 +02:00 |
|
Dan
|
0c96fa8b7c
|
Don't flush each chunk. Let python/os deal with it
|
2018-07-11 17:05:33 +02:00 |
|
Dan
|
c2369c26ca
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/ext/utils.py
|
2018-07-04 21:51:10 +02:00 |
|
Dan
|
1d7c857e9f
|
Rename get_dialogs
|
2018-07-04 21:02:26 +02:00 |
|
Dan
|
52f1f390ca
|
Rename get_dialogs
|
2018-07-04 20:59:21 +02:00 |
|
Dan
|
8bdccda6ee
|
Fix GetDialog call
|
2018-07-04 14:03:45 +02:00 |
|
Dan
|
c7489cf302
|
Reformat code
|
2018-07-04 14:03:14 +02:00 |
|
Dan
|
29fb0ce599
|
Also log UpdatesTooLong
|
2018-07-04 13:53:34 +02:00 |
|
Dan
|
d61f9fa458
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/__init__.py
|
2018-07-03 18:32:34 +02:00 |
|
Dan
|
e414956e71
|
Log UpdateChannelTooLong updates
|
2018-07-03 18:29:25 +02:00 |
|
Dan
|
f6886bd0e4
|
Further improve save_file
|
2018-07-03 16:34:55 +02:00 |
|
Dan
|
ec82b4f994
|
Don't use getpass anymore (for now)
The reason is that getpass is blocking. Let's use ainput() until
a proper way of reading from stdin without echoing is found.
|
2018-07-02 17:21:42 +02:00 |
|
Dan
|
ed562edb9f
|
Fix send AcceptTermsOfService not being awaited
|
2018-07-02 14:11:02 +02:00 |
|
Dan
|
af5c5d20cf
|
Replace input() with ainput() in Client
|
2018-07-02 14:10:48 +02:00 |
|
Dan
|
3711437dbd
|
Merge branch 'develop' into asyncio
|
2018-07-02 09:51:01 +02:00 |
|
Dan
|
c660d3a7d0
|
Fix PhotoSize not having date anymore
|
2018-07-01 19:43:29 +02:00 |
|
Dan
|
b49030eb10
|
Shorter conditions
|
2018-06-30 11:30:32 +02:00 |
|
Dan
|
d28f795aca
|
Make save_file more efficient
|
2018-06-30 11:26:45 +02:00 |
|
Dan
|
77c696aec0
|
Merge branch 'develop' into asyncio
|
2018-06-27 17:21:14 +02:00 |
|
Dan
|
7ed9cd6759
|
Add "Login successful" message upon login
|
2018-06-27 14:42:04 +02:00 |
|
Dan
|
ecaba45523
|
Keep only lang_code
|
2018-06-27 00:42:32 +02:00 |
|
Dan
|
9dff15bd4f
|
Make run() accept coroutine functions
|
2018-06-26 13:45:31 +02:00 |
|
Dan
|
4970a98b43
|
Merge branch 'develop' into asyncio
|
2018-06-25 00:46:06 +02:00 |
|
Dan
|
2587394e07
|
Merge branch 'layer-81' into develop
|
2018-06-25 00:43:47 +02:00 |
|
Dan
|
5f727cb5a2
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/ext/base_client.py
# pyrogram/client/methods/bots/request_callback_answer.py
# pyrogram/session/session.py
|
2018-06-24 19:27:37 +02:00 |
|
Dan
|
fa7b7d0ce3
|
Cleanup Client class
|
2018-06-24 19:09:39 +02:00 |
|
Dan
|
9c420bb73b
|
Document the new parameters. Closes #86
|
2018-06-24 19:09:39 +02:00 |
|
Dan
|
9a012077cc
|
Remove some redundant code. Related to #86
|
2018-06-24 18:54:47 +02:00 |
|
Dan
|
55ef4abb27
|
Allow user-defined session properties. Related to #86
This commit adds five 5 extra parameters to the Client class:
app_version, device_model, system_version, system_lang_code, lang_code
|
2018-06-24 18:47:49 +02:00 |
|
Dan
|
f4c0793a0b
|
Make session leaner by removing some redundant parameters
Related to #86
|
2018-06-24 18:27:41 +02:00 |
|
Dan
|
69d1432251
|
Allow user-defined values for retries and timeout
|
2018-06-24 17:47:29 +02:00 |
|
Dan
|
44f71f096f
|
Better docs for phone_code argument
|
2018-06-24 16:53:07 +02:00 |
|
Dan
|
47043380fb
|
Pass the phone number when calling the phone_code callback function
|
2018-06-24 16:11:22 +02:00 |
|
Dan
|
5834e38f14
|
Make run() accept a coroutine
|
2018-06-24 11:39:50 +02:00 |
|
Dan
|
0cd4795318
|
Use TOS provided by Telegram
|
2018-06-23 16:15:44 +02:00 |
|
Dan
|
668da4ae0e
|
Merge branch 'tos' into layer-81
# Conflicts:
# pyrogram/client/ext/base_client.py
|
2018-06-23 16:11:20 +02:00 |
|
Dan
|
fc541221ed
|
Accept terms of service after successfully signing in
|
2018-06-23 16:08:28 +02:00 |
|
Dan
|
c9cd79cb05
|
Fix merge mess with duplicated idle() methods
|
2018-06-23 15:49:56 +02:00 |
|
Dan
|
518d33ee7a
|
Merge branch 'develop' into asyncio
|
2018-06-23 15:46:41 +02:00 |
|
Dan
|
7f11f85c8f
|
Move signal handler inside idle
|
2018-06-23 15:45:48 +02:00 |
|
Dan
|
5446801c14
|
Make run() run the event loop
|
2018-06-22 13:39:29 +02:00 |
|
Dan
|
2571bf0758
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
|
2018-06-22 13:37:56 +02:00 |
|
Dan
|
82a0c965ba
|
Don't make start and idle clickable
|
2018-06-22 13:12:31 +02:00 |
|
Dan
|
e3299bb3b7
|
Add run() method
|
2018-06-22 13:10:09 +02:00 |
|
Dan
|
ffd67ed408
|
Remove debug docstrings
|
2018-06-22 13:08:27 +02:00 |
|
Dan
|
dab0a05f16
|
Move idle() and signal_handler() definitions near stop()
|
2018-06-22 13:08:01 +02:00 |
|