Commit Graph

97 Commits

Author SHA1 Message Date
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
Dan
8011997512 Merge branch 'develop' into asyncio 2018-09-08 19:28:46 +02:00
Dan
ea39062d2d Add get_chat_members_count method 2018-09-08 19:16:51 +02:00
Dan
4f9b38765e Add missing async/await keywords 2018-08-23 21:07:19 +02:00
Dan
c3cf924ddd Fix small merge issues 2018-08-22 10:32:57 +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
2d8792a7cd Move get_dialogs() from "messages" to "chats" namespace 2018-08-20 11:24:47 +02:00
Dan
32468e5ab0 Remove hints about using t.me/joinchat/ links as chat ids
Such links don't work reliably with the current implementation
2018-07-27 00:40:08 +02:00
Dan
e9cba4609a Update get_chat_member docstrings 2018-07-26 19:32:12 +02:00
Dan
215f54f32b Add get_chat_member documentation 2018-07-22 02:07:44 +02:00
Dan
1eaafb8e41 Clearer documentation for get_chat_members 2018-07-21 14:09:34 +02:00
Dan
e5915505a1 Add get_chat_member method 2018-07-19 23:26:20 +02:00
Dan
b77771497d Document get_chat_members 2018-07-17 09:09:04 +02:00
Dan
ccd651f1fc Make the new methods async 2018-07-17 08:28:28 +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
5b89a65437 Document set_chat_title 2018-07-15 16:34:47 +02:00
Dan
3fe05b4d28 Document set_chat_photo 2018-07-15 16:34:32 +02:00
Dan
3fcf9b9ef6 Document delete_chat_photo 2018-07-15 16:34:15 +02:00
Dan
98578160f0 Document set_chat_description 2018-07-15 16:33:41 +02:00
Dan
15e83e12ca Document unpin_chat_message 2018-07-15 16:33:12 +02:00
Dan
f8d44b8e77 Document pin_chat_message 2018-07-14 00:44:50 +02:00
Dan
ab11c9e347 Add missing docstring arguments 2018-07-10 15:57:27 +02:00
Dan
037ded73c3 Add unpin_chat_message method 2018-07-08 11:09:07 +02:00
Dan
486e8b9552 Add pin_chat_message method 2018-07-08 11:00:56 +02:00
Dan
7d799aed11 Add set_chat_description method 2018-07-08 10:28:54 +02:00
Dan
393caa9d7c Add set_chat_title method 2018-07-08 10:24:39 +02:00
Dan
17ca6b7094 Add delete_chat_photo method 2018-07-08 10:19:16 +02:00
Dan
cb4996d64b Reformat code 2018-07-08 10:18:48 +02:00
Dan
756a6f7630 Add set_chat_photo method 2018-07-08 09:22:08 +02:00
Dan
e3128fca9d Make get_chat_members work with basic groups 2018-07-07 15:47:34 +02:00
Dan
3b29a602d0 Add get_chat_members method 2018-07-06 19:12:41 +02:00
Dan
4d72f84991 Even more async chore 2018-06-18 21:30:13 +02:00
Dan
0b2efd2b7a Register the new chat administration methods 2018-06-04 12:21:48 +02:00
Dan
5bf912640f Add promote_chat_member.py 2018-06-04 12:21:14 +02:00
Dan
f611a92f90 Add restrict_chat_member.py 2018-06-04 12:21:02 +02:00
Dan
ea282a74dd Add unban_chat_member.py 2018-06-04 12:20:41 +02:00
Dan
0f9b4c6ac6 Add kick_chat_member.py 2018-06-04 12:07:42 +02:00
Dan
0367c765e2 Document get_chat 2018-05-12 11:33:14 +02:00
Dan
4f14dd7abe Remove the new parameter in export_chat_invite_link 2018-05-07 16:40:50 +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