Commit graph

13 commits

Author SHA1 Message Date
Dan
bb44f36247
Add usable-by labels for methods 2022-10-14 11:54:26 +02:00
Dan
ce49fc38a0 Fix promote_chat_member when adding bots as admins 2022-05-06 22:00:20 +02:00
Dan
c54be38696 Rename can_manage_voice_chats to can_manage_video_chats 2022-04-24 11:56:07 +02:00
Dan
b47591e6d2 Turn examples asynchronous 2022-04-24 11:56:07 +02:00
Dan
78efb04b40 Rename Client.send to Client.invoke 2022-04-24 11:56:07 +02:00
Dan
32624ef5e6 Improve type hints 2022-04-24 11:56:06 +02:00
Dan
9661b804b6 Revamp ChatMember, add ChatPrivileges and support for banned chats 2022-04-24 11:56:06 +02:00
Dan
626a1bd938 Update copyright year 2022-01-07 10:23:45 +01:00
Dan
ddb2d84f96 Add support for can_manage_chat permission 2021-03-17 15:19:36 +01:00
Dan
2154872acb Add can_manage_voice_chats to admin permissions 2021-02-27 20:35:49 +01:00
Dan
7dda167c09 Update copyright notice
Year 2021
2021-01-01 22:58:48 +01:00
Dan
f832df14b4 Add parameter is_anonymous to the method promote_chat_member 2020-11-08 13:52:15 +01:00
Dan
538f1e3972 Deep rewrite: preparing for v1.0
- Pyrogram core is now fully asynchronous
- Ditched Python 3.5, welcome 3.6 as minimum version.
- Moved all types to pyrogram.types
- Turned the Filters class into a module (filters)
- Moved all filters to pyrogram.filters
- Moved all handlers to pyrogram.handlers
- Moved all emoji to pyrogram.emoji
- Renamed pyrogram.api to pyrogram.raw
- Clock is now synced with server's time
- Telegram schema updated to Layer 117
- Greatly improved the TL compiler (proper type-constructor hierarchy)
- Added "do not edit" warning in generated files
- Crypto parts are executed in a thread pool to avoid blocking the event loop
- idle() is now a separate function (it doesn't deal with Client instances)
- Async storage, async filters and async progress callback (optional, can be sync too)
- Added getpass back, for hidden password inputs
2020-08-22 08:05:05 +02:00
Renamed from pyrogram/client/methods/chats/promote_chat_member.py (Browse further)