Dan
|
8a69c2d74e
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/methods/messages/send_contact.py
|
2018-07-16 17:39:54 +02:00 |
|
Dan
|
1e727fbb43
|
Add extra attributes to User
is_self, is_contact, is_mutual_contact and is_deleted
|
2018-07-12 00:54:13 +02:00 |
|
Dan
|
f242aceb31
|
Add vCard support for contacts
|
2018-07-12 00:10:33 +02:00 |
|
Dan
|
e89d56e058
|
Add cashtag message entity
|
2018-07-11 23:54:11 +02:00 |
|
Dan
|
12ef2f8ca2
|
Fix video notes not having a file_name anymore
|
2018-07-11 17:48:18 +02:00 |
|
Dan
|
9214416f7c
|
Parse Voice waveform
|
2018-07-11 17:36:58 +02:00 |
|
Dan
|
d94139be9a
|
Add parse_chat_members util function
|
2018-07-08 08:39:10 +02:00 |
|
Dan
|
3f22d1b844
|
Merge branch 'develop' into asyncio
|
2018-07-05 14:58:27 +02:00 |
|
Dan
|
2b6c30d0e1
|
Update get_dialogs
|
2018-07-05 14:57:45 +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
|
15e3cf0fd5
|
Small fix
|
2018-07-04 21:39:09 +02:00 |
|
Dan
|
fe97a4d92b
|
Parse members_count
|
2018-07-04 21:32:35 +02:00 |
|
Dan
|
219988740c
|
Remove unsupported argument for Python <3.6
|
2018-07-02 19:16:01 +02:00 |
|
Dan
|
f4c583664a
|
Remove unsupported arguments for Python <3.7
|
2018-07-02 19:14:30 +02:00 |
|
Dan
|
26bb97af46
|
Add ainput function
|
2018-07-02 14:10:26 +02:00 |
|
Dan
|
a2b4d59cdb
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/methods/users/get_user_profile_photos.py
|
2018-06-28 20:10:38 +02:00 |
|
Dan
|
abbf7e6684
|
Use Photo as type for UserProfilePhotos photos list
|
2018-06-28 19:08:21 +02:00 |
|
Dan
|
b8bfb43a80
|
Use Photo as type for new_chat_photo
|
2018-06-28 19:07:56 +02:00 |
|
Dan
|
a3761144b3
|
Use Photo as type for media messages
|
2018-06-28 19:07:02 +02:00 |
|
Dan
|
be451a3bb2
|
Rename parse_photos to parse_profile_photos
|
2018-06-28 18:49:09 +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
|
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
|
d2a15d8143
|
Merge branch 'develop' into asyncio
|
2018-06-21 15:35:27 +02:00 |
|
Dan
|
ff915965f1
|
Minor style fixes
|
2018-06-21 15:33:30 +02:00 |
|
Dan
|
f9c17ae169
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
|
2018-06-20 12:24:30 +02:00 |
|
Dan
|
c5fb0d6079
|
Use -100 prefix for channel ids
|
2018-06-20 12:15:55 +02:00 |
|
Vitali
|
e6c6bd839c
|
Add Handler to deleted messages update
|
2018-06-19 11:18:12 -03:00 |
|
Dan
|
21af0f3e82
|
More async chore
|
2018-06-18 21:22:33 +02:00 |
|
Dan
|
26e828b956
|
Make BaseClient asynchronous and default DOWNLOAD_WORKERS to 4
|
2018-06-18 21:21:26 +02:00 |
|
Dan
|
e3a667a8fe
|
Make Syncer asynchronous (lol)
|
2018-06-18 21:11:28 +02:00 |
|
Dan
|
329bac6ab0
|
Better invite link regex pattern
|
2018-06-13 20:53:31 +02:00 |
|
Dan
|
6238f984b4
|
Add dedicated parse function for inline callback queries
|
2018-06-06 12:29:05 +02:00 |
|
Dan
|
e3bd7d57a2
|
Remove TODO
|
2018-06-06 12:28:36 +02:00 |
|
Dan
|
656e5036c1
|
Fix callback query id not being a string
|
2018-06-06 12:28:25 +02:00 |
|
Dan
|
745049bda3
|
Protect client by renaming the property to _client
|
2018-06-03 17:54:57 +02:00 |
|
Dan
|
73c101b49d
|
Revert "Add Empty parse mode"
This reverts commit d8dbcb5
|
2018-05-31 13:03:20 +02:00 |
|
Dan
|
d8dbcb5b4e
|
Add Empty parse mode
|
2018-05-27 20:16:30 +02:00 |
|
Dan
|
9001ccd11f
|
Add DisconnectHandler
|
2018-05-23 14:27:17 +02:00 |
|
Dan
|
5b300ef83c
|
Fix some GIF not having video attributes
|
2018-05-20 12:45:37 +02:00 |
|
Dan
|
f69da98c99
|
Remove TODO
|
2018-05-17 16:49:35 +02:00 |
|
Dan
|
3d74941bed
|
Add slots
|
2018-05-14 00:48:53 +02:00 |
|
Dan
|
0955826b6c
|
Change sig and parent class init call
|
2018-05-14 00:48:18 +02:00 |
|
Dan
|
33207c2138
|
Lazily compute html and markdown styled texts
|
2018-05-14 00:02:58 +02:00 |
|
Dan
|
ef93fee7aa
|
Add new Messages object and make get_history return it
|
2018-05-11 18:00:16 +02:00 |
|
Dan
|
34d7749dbf
|
Add html attribute to message.text
|
2018-05-11 13:38:12 +02:00 |
|
Dan
|
e1e0029cc5
|
Rename media type 1 to chat_photo
|
2018-05-11 11:57:05 +02:00 |
|
Dan
|
84f9c2145c
|
Add support for GIF files
|
2018-05-11 11:56:27 +02:00 |
|
Dan
|
30c6741ec6
|
Update Str class
|
2018-05-10 15:52:53 +02:00 |
|
Dan
|
dc47d8e386
|
Add custom Str and use it for texts and captions.
This would allow usages like message.text.markdown which will
return the unparsed markdown text
|
2018-05-10 14:47:15 +02:00 |
|
Dan
|
14f23d388c
|
Clean get_history
|
2018-05-09 20:27:29 +02:00 |
|
Dan
|
781edda56a
|
Handle get_messages flood wait
|
2018-05-09 19:50:57 +02:00 |
|
Dan
|
a1c3e40800
|
Make parse_messages accept a list of messages
|
2018-05-09 19:29:23 +02:00 |
|
Dan
|
8454d438be
|
Refactor the project by using Mixin classes
This will cut client.py down from ~4k to ~1k SLOC and also
makes the whole project tidier and more organized.
|
2018-05-07 14:30:55 +02:00 |
|