Dan
|
4eb26c5b92
|
Fix sleep method calls in asyncio: time.sleep -> asyncio.sleep
|
2019-02-04 18:34:58 +01:00 |
|
Dan
|
e83012bfb8
|
Add missing await keywords
|
2019-01-25 10:24:04 +01:00 |
|
Dan
|
61e9762977
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
|
2019-01-25 10:22:56 +01:00 |
|
Dan
|
44deabf399
|
Update iter_chat_members efficiency
|
2019-01-24 17:21:41 +01:00 |
|
Dan
|
a57ee7b333
|
Accommodate parsing of invited_by attribute of ChatMember (#204)
|
2019-01-21 16:33:33 +01:00 |
|
Dan
|
d72754be1e
|
Add missing await
|
2019-01-17 12:30:40 +01:00 |
|
Dan
|
21c301d19d
|
Merge branch 'develop' into asyncio
|
2019-01-07 22:51:57 +01:00 |
|
Dan
|
1bbf048b7a
|
Remove duplicated references
|
2019-01-07 21:49:25 +01:00 |
|
Dan
|
2055736661
|
Merge branch 'develop' into asyncio
|
2019-01-07 10:36:52 +01:00 |
|
Dan
|
491b96c9f6
|
Use "recent" filter for up to 10k members
|
2019-01-07 10:00:42 +01:00 |
|
Dan
|
0bae143d5d
|
Fix asyncio merge issues
|
2019-01-07 09:37:26 +01:00 |
|
Dan
|
2084a406a4
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/client.py
# pyrogram/client/ext/base_client.py
# pyrogram/client/methods/chats/get_chat_members.py
# pyrogram/client/methods/chats/get_dialogs.py
# pyrogram/client/methods/chats/kick_chat_member.py
# pyrogram/client/methods/messages/get_history.py
# pyrogram/client/methods/messages/get_messages.py
# pyrogram/client/types/messages_and_media/messages.py
|
2019-01-07 08:46:28 +01:00 |
|
Dan
|
7e354b12bf
|
Fix kick_chat_member docstrings and return type
|
2019-01-04 23:15:57 +01:00 |
|
Dan
|
153439ac88
|
Add iter_chat_members method. Reference #170
|
2019-01-04 17:13:44 +01:00 |
|
Dan
|
d7e3397050
|
Update get_chat_members docstrings
|
2019-01-04 16:59:36 +01:00 |
|
Dan
|
e1cac13f0d
|
Fix get_dialogs docstrings
|
2019-01-04 16:58:57 +01:00 |
|
Dan
|
948f2b44ed
|
Add iter_dialogs method. Reference #170
|
2019-01-04 16:10:34 +01:00 |
|
Dan
|
4d1d70082b
|
Sleep in case of get_dialogs flood waits
|
2019-01-04 16:08:05 +01:00 |
|
Dan
|
b7b31d39e8
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/__init__.py
|
2019-01-03 09:15:44 +01:00 |
|
Dan
|
372bbabe28
|
Make invite links of public channels work with get_chat
|
2019-01-02 22:39:16 +01:00 |
|
Dan
|
7f79210ba3
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/dispatcher/dispatcher.py
# requirements.txt
|
2019-01-02 19:55:45 +01:00 |
|
Dan
|
4d7b1bafac
|
Update copyright year
|
2019-01-01 12:36:16 +01:00 |
|
Dan
|
2ea1f0f323
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/methods/chats/get_chat.py
# pyrogram/client/methods/messages/get_messages.py
# pyrogram/client/types/messages_and_media/messages.py
|
2018-12-31 12:06:15 +01:00 |
|
Dan
|
c907e8146a
|
Allow get_chat to work with chat invite links
|
2018-12-28 14:34:47 +01:00 |
|
Dan
|
0e62b3472a
|
Add get_chat_preview method and ChatPreview object
|
2018-12-28 14:26:00 +01:00 |
|
Dan
|
769b3ebdee
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/methods/chats/get_dialogs.py
# pyrogram/client/methods/messages/get_history.py
|
2018-12-28 00:38:54 +01:00 |
|
Dan
|
3814471af4
|
Change get_dialogs behaviour
It now accepts an offset_date instead of an offset_dialog
|
2018-12-27 23:56:45 +01:00 |
|
Dan
|
f4736c17a6
|
Merge branch 'develop' into asyncio
|
2018-12-25 23:08:52 +01:00 |
|
Dan
|
1eee4b77e1
|
Pin/unpin_chat_message don't raise a ValueError anymore
|
2018-12-25 23:08:45 +01:00 |
|
Dan
|
06d8293fa0
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/client.py
# pyrogram/client/methods/bots/send_inline_bot_result.py
# pyrogram/client/methods/chats/pin_chat_message.py
# pyrogram/client/methods/chats/unpin_chat_message.py
# pyrogram/client/methods/password/change_cloud_password.py
# pyrogram/client/methods/password/enable_cloud_password.py
# pyrogram/client/methods/password/remove_cloud_password.py
|
2018-12-25 23:07:45 +01:00 |
|
Dan
|
7ee89c94cb
|
Update pin/unpin_chat_message
It is now possible to pin messages in basic groups as well as in the
own user's chat.
|
2018-12-23 01:00:31 +01:00 |
|
Dan
|
84fef9ecf1
|
Add missing file_reference argument where applicable
|
2018-12-23 00:55:00 +01:00 |
|
Dan
|
e6667be10b
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/dispatcher/dispatcher.py
# pyrogram/client/ext/utils.py
# pyrogram/client/methods/bots/get_inline_bot_results.py
# pyrogram/client/methods/bots/request_callback_answer.py
# pyrogram/client/methods/bots/send_inline_bot_result.py
# pyrogram/client/methods/chats/delete_chat_photo.py
# pyrogram/client/methods/chats/export_chat_invite_link.py
# pyrogram/client/methods/chats/get_chat.py
# pyrogram/client/methods/chats/get_chat_member.py
# pyrogram/client/methods/chats/get_chat_members.py
# pyrogram/client/methods/chats/get_chat_members_count.py
# pyrogram/client/methods/chats/get_dialogs.py
# pyrogram/client/methods/chats/join_chat.py
# pyrogram/client/methods/chats/kick_chat_member.py
# pyrogram/client/methods/chats/leave_chat.py
# pyrogram/client/methods/chats/pin_chat_message.py
# pyrogram/client/methods/chats/promote_chat_member.py
# pyrogram/client/methods/chats/restrict_chat_member.py
# pyrogram/client/methods/chats/set_chat_description.py
# pyrogram/client/methods/chats/set_chat_photo.py
# pyrogram/client/methods/chats/set_chat_title.py
# pyrogram/client/methods/chats/unban_chat_member.py
# pyrogram/client/methods/chats/unpin_chat_message.py
# pyrogram/client/methods/contacts/add_contacts.py
# pyrogram/client/methods/contacts/delete_contacts.py
# pyrogram/client/methods/messages/delete_messages.py
# pyrogram/client/methods/messages/edit_message_caption.py
# pyrogram/client/methods/messages/edit_message_media.py
# pyrogram/client/methods/messages/edit_message_reply_markup.py
# pyrogram/client/methods/messages/edit_message_text.py
# pyrogram/client/methods/messages/forward_messages.py
# pyrogram/client/methods/messages/get_history.py
# pyrogram/client/methods/messages/get_messages.py
# pyrogram/client/methods/messages/send_animation.py
# pyrogram/client/methods/messages/send_audio.py
# pyrogram/client/methods/messages/send_chat_action.py
# pyrogram/client/methods/messages/send_contact.py
# pyrogram/client/methods/messages/send_document.py
# pyrogram/client/methods/messages/send_location.py
# pyrogram/client/methods/messages/send_media_group.py
# pyrogram/client/methods/messages/send_message.py
# pyrogram/client/methods/messages/send_photo.py
# pyrogram/client/methods/messages/send_sticker.py
# pyrogram/client/methods/messages/send_venue.py
# pyrogram/client/methods/messages/send_video.py
# pyrogram/client/methods/messages/send_video_note.py
# pyrogram/client/methods/messages/send_voice.py
# pyrogram/client/methods/password/change_cloud_password.py
# pyrogram/client/methods/password/enable_cloud_password.py
# pyrogram/client/methods/password/remove_cloud_password.py
# pyrogram/client/methods/users/delete_user_profile_photos.py
# pyrogram/client/methods/users/get_me.py
# pyrogram/client/methods/users/get_user_profile_photos.py
# pyrogram/client/methods/users/get_users.py
# pyrogram/client/methods/utilities/download_media.py
# pyrogram/client/types/messages_and_media/message.py
|
2018-12-22 12:23:08 +01:00 |
|
Dan
|
a0355a5cc4
|
Type hint all methods return values
|
2018-12-19 15:59:15 +01:00 |
|
Dan
|
b593463bd7
|
Type hint all the remaining method parameters
|
2018-12-19 14:50:23 +01:00 |
|
Dan
|
510b2456b6
|
Reword offset_dialog docstrings in Dialog
|
2018-12-19 10:27:47 +01:00 |
|
Dan
|
914dfca574
|
Reformat code and optimize imports
|
2018-12-18 09:50:39 +01:00 |
|
Dan
|
27052e31ca
|
Fix all those unresolved references caused by the refactor
|
2018-12-18 09:45:49 +01:00 |
|
Dan
|
e6dced80cf
|
Update get_dialogs to use the new refactored Dialogs type
|
2018-12-17 16:13:57 +01:00 |
|
Dan
|
7430529646
|
Make use of the refactored Chat type in get_chat
|
2018-12-16 17:59:34 +01:00 |
|
Dan
|
31b046e5cc
|
Use the refactored types in get_chat_member(s)
|
2018-12-16 17:58:05 +01:00 |
|
Dan
|
bc4c787599
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/types/messages_and_media/message.py
# pyrogram/connection/transport/tcp/tcp.py
|
2018-11-03 12:04:31 +01:00 |
|
Dan
|
45129658b0
|
Revisit docstrings
|
2018-11-03 10:49:11 +01:00 |
|
Dan
|
66bcc7cde4
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/methods/chats/kick_chat_member.py
|
2018-10-21 15:56:02 +02:00 |
|
Dan
|
b12c87f50a
|
Make kick_chat_member return the "user kicked" message
|
2018-10-21 09:40:49 +02:00 |
|
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
|
89a167b51f
|
Update default rights to the least common between supergroups & channels
Fixes #120
|
2018-10-01 10:52:09 +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
|
9538ed85fe
|
Fix missing backtick
|
2018-09-19 13:20:36 +02:00 |
|
Dan
|
8ff413c7e7
|
Make get_chat_members_count async
|
2018-09-08 19:30:12 +02:00 |
|