Dan
|
fcdb71c28c
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/dispatcher/dispatcher.py
# pyrogram/client/methods/chats/promote_chat_member.py
|
2018-10-01 16:21:14 +02:00 |
|
Dan
|
b79bd1ea83
|
Don't swallow left_chat_member updates
Even though they are only relevant for supergroups with <50 members
|
2018-10-01 09:45:32 +02:00 |
|
Dan
|
12c61fb431
|
Fix unwanted CHANNEL_PRIVATE errors. Fixes #129
|
2018-10-01 09:40:34 +02:00 |
|
Dan
|
41acdd4d63
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/connection/transport/tcp/tcp.py
|
2018-09-22 14:49:35 +02:00 |
|
Dan
|
6a89c7ea02
|
Add missing ipv6 docstrings
|
2018-09-22 14:21:55 +02:00 |
|
Dan
|
df8bc62fb3
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/methods/messages/send_document.py
# pyrogram/client/methods/messages/send_video_note.py
|
2018-09-19 17:54:53 +02:00 |
|
Dan
|
3a858e6a57
|
Fix config values not being available when not using config.ini file
|
2018-09-19 17:30:23 +02:00 |
|
Dan
|
8b364202c3
|
Use list instead of set
|
2018-09-18 19:17:28 +02:00 |
|
Dan
|
500ec09b47
|
Clean up load_config
|
2018-09-18 19:16:55 +02:00 |
|
Dan
|
f850d6352e
|
Enhance API by adding support for Context Managers. Closes #122
A batch script would be as simple as this example:
from pyrogram import Client
with Client("...") as app:
app.send_message("haskell", "hi")
|
2018-09-17 18:53:04 +02:00 |
|
Dan
|
4c290ba38a
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/methods/messages/send_audio.py
# pyrogram/session/session.py
|
2018-09-17 17:00:10 +02:00 |
|
Dan
|
e7a85520f2
|
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
# pyrogram/client/client.py
|
2018-09-17 15:59:49 +02:00 |
|
Dan
|
c75a4f182a
|
Handle Telegram exceptions on start(). Fixes #121
The client doesn't need to be stopped as it never started successfully.
|
2018-09-15 13:23:25 +02:00 |
|
Dan
|
cc7901adf8
|
Merge branch 'develop' into asyncio
|
2018-09-06 20:05:01 +02:00 |
|
Dan
|
db6042e91b
|
Fetch ChatForbidden and ChannelForbidden peers
This fixes unwanted PEER_ID_INVALID errors in cases where a user or a
bot was kicked/banned from a group, supergroup or channel
|
2018-09-02 13:04:29 +02:00 |
|
Dan
|
10f3829c93
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
# pyrogram/connection/connection.py
# pyrogram/connection/transport/tcp/tcp.py
# pyrogram/connection/transport/tcp/tcp_intermediate.py
# pyrogram/session/session.py
|
2018-09-01 01:05:25 +02:00 |
|
Dan
|
9f4d7854e8
|
Fix ipv6 branch merge mess
|
2018-08-30 01:23:19 +02:00 |
|
Dan
|
4b3b647245
|
Merge branch 'ipv6' into develop
# Conflicts:
# pyrogram/client/client.py
# pyrogram/session/session.py
|
2018-08-28 12:19:37 +02:00 |
|
Dan
|
2779e33d13
|
Rename "token" to "bot_token"
|
2018-09-10 19:55:53 +02:00 |
|
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 |
|