Dan
d50322a3f5
Merge develop -> asyncio-dev
2020-05-16 01:33:42 +02:00
Dan
0556efa26b
Add support for joining linked chats with the .join() bound method
2020-05-07 15:46:31 +02:00
Dan
74674cd615
Merge develop -> asyncio
2020-05-07 13:00:03 +02:00
Dan
99aee987bd
Add an automatic sleep mechanism for flood wait exceptions
2020-05-07 12:53:45 +02:00
SuperCz1
c05c5c4441
Add session name in "Sleeping for Xs" log lines ( #401 )
...
* Update send_media_group.py
* Update get_dialogs.py
* Update get_dialogs.py
* Update get_messages.py
* Update get_history.py
* Update get_chat_members.py
2020-05-07 11:35:08 +02:00
Dan
23789393fe
Fix missing async/await for set_slow_mode
2020-05-01 16:37:03 +02:00
Dan
944c6153b9
Merge branch 'develop' into asyncio-dev
...
# Conflicts:
# pyrogram/client/methods/chats/restrict_chat_member.py
# pyrogram/client/methods/chats/set_chat_permissions.py
2020-04-12 19:39:15 +02:00
Dan
99604baaf4
Update restrict_chat_member and set_chat_permissions methods
2020-04-12 13:42:00 +02:00
Dan
aa6c935d83
Merge develop -> asyncio-dev
2020-03-30 17:45:18 +02:00
Yusuf_M_Thon_iD
b913590cea
add missing file_ref in set_chat_photo ( #369 )
2020-03-21 16:03:54 +01:00
Dan
1996fb1481
Update Copyright
2020-03-21 15:43:32 +01:00
Dan
28cee8d01f
Do not ever use "recent" filtering automatically
...
That code existed to improve members fetching performance
for channels/supergroups with less than 10k+1 members, but
it was causing troubles when fetching members based on a
query string and for channels with less than 10k+1 subscribers
2020-02-20 20:41:08 +01:00
Dan
73d9af51ef
Don't use the "recent" filter when passing a query argument
2020-02-20 13:54:51 +01:00
Dan
df5de3e583
Revert "Add missing file_ref in set_chat_photo ( #343 )" ( #366 )
...
This reverts commit e316d18bf4
.
2020-02-04 17:03:33 +01:00
Dan
062a6ce6dd
Fix AttributeError raising when receiving ChatParticipantsForbidden
2020-02-03 14:51:53 +01:00
Dan
ce93f0ac64
Fix set_administrator_title giving full permissions
2020-02-01 16:01:41 +01:00
Yusuf_M_Thon_iD
e316d18bf4
Add missing file_ref in set_chat_photo ( #343 )
2020-02-01 14:10:46 +01:00
Dan
42c9bafa0c
Update copyright notice
2020-02-01 14:04:33 +01:00
kalmengr
c5cc85f007
Add method delete_user_history ( #282 )
...
* Add method delete_all_user_messages
* Update delete_all_user_messages.py
* Rename delete_all_user_messages.py to delete_user_history.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2019-12-23 19:05:30 +01:00
Alisson Lauffer
8e9a7a33bd
Add missing awaits
2019-12-06 23:22:19 -03:00
Dan
353811ebd3
Add missing await
2019-12-06 21:14:15 +01:00
Dan
d71d9686d7
Add set_slow_mode method
2019-10-27 11:02:38 +01:00
Dan
b10817ec29
Merge develop -> asyncio
2019-09-09 16:00:38 +02:00
Dan
71148758c9
Tiny documentation fixes
2019-09-09 15:42:38 +02:00
Dan
aaf0e82cdf
Optimize join_chat code
2019-09-09 15:28:27 +02:00
Dan
80c7a6e988
Rename set_custom_title to set_administrator_title and clarify
2019-09-09 15:28:05 +02:00
Dan
928ce5d850
Merge develop -> asyncio
2019-09-08 19:27:37 +02:00
Dan
a015f998fa
Revert "Stop instantiating logger objects and directly use the logging module"
...
This reverts commit 792068d7
2019-09-08 19:24:06 +02:00
Dan
8f0b8babc2
Merge develop -> asyncio
2019-09-08 13:26:10 +02:00
Dan
792068d7c8
Stop instantiating logger objects and directly use the logging module
2019-09-08 12:59:28 +02:00
Dan
c163f16d7b
Merge develop -> asyncio
2019-09-07 17:10:28 +02:00
Dan
c0298542a5
Add set_custom_title method
2019-09-07 17:08:30 +02:00
Dan
5f944056cc
Merge remote-tracking branch 'origin/asyncio-dev' into asyncio-dev
2019-09-07 13:43:31 +02:00
Dan
ce72a7edd9
Merge develop -> asyncio
2019-09-07 13:40:26 +02:00
Dan
1ade49a13a
Fix error on serializing None when int is expected
2019-08-26 22:09:36 +02:00
Dan
0011d12be5
Fix set_chat_photo not working because of new file ids
2019-08-21 09:56:33 +02:00
Dan
55f5a1a36c
Fix IndexError when parsing empty nearby chats
2019-08-17 22:30:34 +02:00
Dan
a829f74a16
Merge develop -> asyncio
2019-08-17 22:25:26 +02:00
Dan
95051d7fb1
Add get_nearby_chats method
2019-08-17 22:23:34 +02:00
Dan
8612eafb4a
Merge develop -> asyncio
2019-08-03 20:23:41 +02:00
Dan
937987a361
Finally remove ports from older schemas and fix export_chat_invite_link
2019-08-03 19:40:45 +02:00
Dan
c6f346f83d
[Bot API 4.4] Update chat permissions
...
- Move can_* permissions back to ChatMember objects
- Rename restrict_chat to set_chat_permissions
- Update restrict_chat_member to accept a single ChatPermissions arg.
- Update ChatPermissions to be the same as the one on the Bot API
2019-08-03 19:30:32 +02:00
Dan
7badcd38b4
Merge develop -> asyncio
2019-08-03 10:48:35 +02:00
Dan
ad0f8284f6
Use the correct way to parse peer identifiers
2019-08-01 19:07:08 +02:00
Dan
0f9029202e
Merge develop -> asyncio
2019-07-30 00:06:06 +02:00
Dan
2dec2442e5
Add examples to all available methods
2019-07-25 11:22:14 +02:00
Dan
036a73997a
Add new methods: add_chat_members, create_* and delete_* chats
...
- add_chat_members
- create_group
- create_channel
- create_supergroup
- delete_channel
- delete_supergroup
2019-07-21 23:08:30 +02:00
Dan
d441f16879
Merge develop -> asyncio
2019-07-11 04:17:46 +02:00
Dan
f9ea45f987
Fix restrict_chat and restrict_chat_member combined permissions
2019-07-11 01:32:18 +02:00
Dan
2769f5219d
Merge develop -> asyncio
2019-07-04 21:02:33 +02:00