Dan
8ef97f2177
Merge branch 'develop' into asyncio
...
# Conflicts:
# pyrogram/client/methods/messages/edit_message_text.py
# pyrogram/client/methods/messages/send_animation.py
# pyrogram/client/methods/messages/send_audio.py
# pyrogram/client/methods/messages/send_cached_media.py
# pyrogram/client/methods/messages/send_document.py
# pyrogram/client/methods/messages/send_message.py
# pyrogram/client/methods/messages/send_photo.py
# pyrogram/client/methods/messages/send_video.py
# pyrogram/client/methods/messages/send_voice.py
# pyrogram/client/parser/html.py
# pyrogram/client/parser/markdown.py
# pyrogram/client/types/input_message_content/input_text_message_content.py
2019-06-26 19:34:49 +02:00
Dan
f05e79e0f4
Update usages of Parser all around the library
2019-06-26 16:08:24 +02:00
Dan
656aa4a7ca
Enable scheduling of more than 1 updates worker
2019-06-24 17:33:33 +02:00
Dan
633e11531a
Fix coroutine scheduling when adding/removing handlers
2019-06-23 13:56:12 +02:00
Dan
84278f9cee
Merge branch 'develop' into asyncio
...
# Conflicts:
# pyrogram/client/ext/dispatcher.py
2019-06-22 00:49:13 +02:00
Dan
e7fffd2f76
Fix workers not running concurrently anymore after using a shared Lock
2019-06-22 00:45:49 +02:00
Dan
2ba445d21e
Fix asyncio lock not being awaited properly
2019-06-21 21:48:35 +02:00
Dan
471a124d2c
Merge develop -> asyncio
2019-06-21 02:04:16 +02:00
Dan
8d0e161b56
Lock dispatcher groups. Fixes #255
2019-06-21 01:53:17 +02:00
Dan
a8dfe61f7e
Merge develop -> asyncio
2019-06-20 04:17:24 +02:00
Dan
30192de1ad
Update pyrogram/client to accommodate Storage Engines
2019-06-19 16:10:37 +02:00
Dan
edaced35a7
Use base64.urlsafe_b64encode/decode instead of manually passing altchars
2019-06-19 16:07:22 +02:00
Dan
682591ea8f
Update Auth and Session to accommodate Storage Engines
2019-06-19 16:02:29 +02:00
Dan
142d5ab335
Merge branch 'develop' into session_storage
...
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/ext/base_client.py
# pyrogram/client/ext/syncer.py
# pyrogram/client/methods/contacts/get_contacts.py
2019-06-15 23:52:34 +02:00
Dan
80d8443be4
Fix script executions not working outside the current directory
...
Fixes #41
2019-06-15 23:02:31 +02:00
Dan
61ed44ff5f
Add edit_inline_* methods to deal with inline messages only
2019-06-14 04:52:05 +02:00
Dan
da4ff268a4
Add edit, edit_caption, edit_media and edit_reply_markup bound methods to the CallbackQuery type
2019-06-14 02:46:27 +02:00
Dan
22199b0fe5
Implement editing of messages sent via inline bots
...
- edit_message_text
- edit_message_caption
- edit_message_media
- edit_message_reply_markup
2019-06-14 02:15:33 +02:00
Dan
a21858a262
Merge pull request #251 from pyrogram/types-revamp
...
Types revamp
2019-06-12 10:48:10 +02:00
Dan
fd0a40442a
Fix plugins not getting reloaded properly when restarting a client
2019-06-11 18:31:38 +02:00
Dan
43493733c9
Rearrange code
2019-06-08 15:28:03 +02:00
Dan
cfbc5298df
Remove Messages type
2019-06-08 15:13:52 +02:00
Dan
fd3c8cf94f
Merge develop -> asyncio
2019-06-07 19:26:27 +02:00
Dan
c65e210c03
Fix FileData namedtuple using Python 3.7+ features
2019-06-07 18:48:34 +02:00
Dan
9bd9d7797b
Replace "with await" with "async with"
2019-06-05 11:58:29 +02:00
Dan
b3d6b41ca8
Fix Syncer not creating Event and Lock objects inside the current loop
2019-06-05 11:28:29 +02:00
Dan
d4dbff3226
Merge develop -> asyncio
2019-06-02 19:14:16 +02:00
Dan
dc94da3895
Add application/x-tgsticker mime type with .tgs as extension
2019-06-01 14:04:39 +02:00
Dan
d243ebc2cd
Performance improvements
2019-06-01 13:18:48 +02:00
Dan
e7f6e9ec66
Cast is_bot value to bool
2019-06-01 13:15:41 +02:00
Dan
a984558860
Rename methods dealing with profile pictures
2019-05-31 00:20:09 +02:00
Dan
376909f356
Add get_input_media_from_file_id utility method
...
For internal usage
2019-05-30 14:56:59 +02:00
Dan
55599e33c6
Rework download_media to accommodate L100 changes
2019-05-29 10:40:37 +02:00
Dan
39439255fd
Merge develop -> asyncio
2019-05-25 02:02:37 +02:00
Dan
518220431e
Docs revamp. Part 5
2019-05-18 01:45:01 +02:00
Dan
6530c7e293
Remove ChatAction module too
...
It's pretty much useless, better just use strings
2019-05-09 05:08:37 +02:00
Dan
3a494a478f
Remove ParseMode
...
It's pretty much useless, better just use "markdown" and "html"
2019-05-09 04:32:43 +02:00
Dan
47c4fae36d
Merge develop -> asyncio
2019-05-06 17:27:21 +02:00
Dan
01f0af6bb0
Increase OFFLINE_SLEEP to 15 minutes
...
This avoid frequent dialogs fetch while debugging with user accounts
2019-05-06 16:36:57 +02:00
Dan
6f2c625cd1
Handle minified poll updates
2019-05-05 15:44:53 +02:00
Dan
6c140fd03e
Merge pull request #238 from pyrogram/bot-api-4.2
...
Bot API 4.2
2019-05-05 12:25:42 +02:00
Dan
952f9bc503
Merge branch 'develop' into asyncio
...
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/ext/base_client.py
# pyrogram/client/methods/messages/delete_messages.py
# pyrogram/client/types/messages_and_media/message.py
2019-04-30 11:51:36 +02:00
Dan
63d76a7f13
Bring back automatic mime type detection for new uploads ( fixes #239 )
...
- Add mime.types file to contain a good database of type -> ext mappings
from svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
- Load mime.type at BaseClient creation and add two convenience methods
for guessing mime types from filenames and extensions from mime types,
guess_mime_type and guess_extension
- Make all send_* method as well as download_media use the new mime type
database via guess_mime_type and guess_extension methods
2019-04-20 18:56:30 +02:00
Dan
5905f761fa
Add PollHandler type and on_poll decorator for handling Poll updates
2019-04-14 20:50:13 +02:00
bakatrouble
952f0627f1
Merge branch 'develop' into session_storage
...
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/ext/base_client.py
# pyrogram/client/ext/syncer.py
# pyrogram/client/style/html.py
# pyrogram/client/style/markdown.py
2019-04-14 21:49:45 +03:00
Dan
ad49e72f02
Fix inline_query_parser in asyncio branch
2019-04-13 17:32:18 +02:00
Dan
29940fbc66
Fix StopTransmission in asyncio by inheriting from StopAsyncIteration
...
Instead of StopIteration
2019-03-27 15:44:29 +01:00
Dan
654a432d99
Merge branch 'develop' into asyncio
2019-03-27 14:46:24 +01:00
Dan
ef5dd96bdc
Fix broken mentions for both HTML and Markdown
2019-03-26 13:32:30 +01:00
Dan
1179a5b994
Merge branch 'develop' into asyncio
...
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/client.py
# pyrogram/session/session.py
2019-03-25 11:52:54 +01:00