Commit Graph

4373 Commits

Author SHA1 Message Date
Dan
70d5f22e0d Some fixes to the documentation 2022-04-24 11:56:07 +02:00
Dan
394a9adc03 Fix type hints 2022-04-24 11:56:07 +02:00
Dan
3e33ef0c0d Add support for media streams with the method stream_media 2022-04-24 11:56:07 +02:00
Dan
b2c4d26ce6 Fix Message.download() docstrings 2022-04-24 11:56:07 +02:00
Dan
01ca652f8c Add support for in-memory downloads 2022-04-24 11:56:07 +02:00
Dan
0d054fa9bc Update index.rst 2022-04-24 11:56:07 +02:00
Dan
4cb9dec35d Remove remaining iter_* methods 2022-04-24 11:56:07 +02:00
Dan
6eadb75086 Recursively bind when using Object.bind() 2022-04-24 11:56:07 +02:00
Dan
5c0806a8a9 Add __repr__ to enumerations 2022-04-24 11:56:07 +02:00
Dan
a34ee4b444 Update index.rst 2022-04-24 11:56:07 +02:00
Dan
bd11767e88 Use a shorter __license__ string 2022-04-24 11:56:07 +02:00
Dan
296b866234 Improve performance by adding a message cache 2022-04-24 11:56:07 +02:00
Dan
8af17c3ed5 Documentation improvements 2022-04-24 11:56:07 +02:00
Dan
d14665ad96 Fix text-formatting.rst examples 2022-04-24 11:56:07 +02:00
Dan
7fa091719c Add documentation page about synchronous usage 2022-04-24 11:56:07 +02:00
Dan
9be3818486 Add new function compose 2022-04-24 11:56:07 +02:00
Dan
6fa4cdff15 Fix user mentions for deleted accounts 2022-04-24 11:56:07 +02:00
Dan
124bcb4db7 Remove API key requirement for existing sessions 2022-04-24 11:56:07 +02:00
Dan
b8f39725c5 Remove outdated FAQ 2022-04-24 11:56:07 +02:00
Dan
1e66ac2636 Small documentation fix 2022-04-24 11:56:07 +02:00
Dan
b47591e6d2 Turn examples asynchronous 2022-04-24 11:56:07 +02:00
Dan
ecc90caba2 Handle edited messages using a separate handler 2022-04-24 11:56:07 +02:00
Dan
0e3c2e4412 Rename RPCError.x to RPCError.value 2022-04-24 11:56:07 +02:00
Dan
68f151bad5 Merge changes 2022-04-24 11:56:07 +02:00
Dan
405528c74b Revamp get_chat_members related methods 2022-04-24 11:56:07 +02:00
Dan
84f0b3a97a Rename some enums 2022-04-24 11:56:07 +02:00
Dan
bbc109d73e Remove unused method 2022-04-24 11:56:07 +02:00
Dan
04eef09097 Don't fetch reply-to messages in search_messages 2022-04-24 11:56:07 +02:00
Dan
d1bdaae81d Add methods related to discussion threads and comments 2022-04-24 11:56:07 +02:00
Dan
5f6788ad69 Improvements to the documentation 2022-04-24 11:56:07 +02:00
Dan
bf8a334e32 Revamp get_chat_history related methods 2022-04-24 11:56:07 +02:00
Dan
5f2dcf70ed Fix invited_by being optional 2022-04-24 11:56:07 +02:00
Dan
41f16a17c9 Fix filters.command not working with multiple running bots
Closes #864
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
4f6ce8bec1 Add pyproject.toml 2022-04-24 11:56:06 +02:00
Dan
32624ef5e6 Improve type hints 2022-04-24 11:56:06 +02:00
Dan
4ebf5cf7e9 Remove ability to access attributes via bracket notation 2022-04-24 11:56:06 +02:00
Dan
274650cda9 Rename Message.message_id to Message.id 2022-04-24 11:56:06 +02:00
Dan
b697826b5a Replace integer timestamps with datetime objects 2022-04-24 11:56:06 +02:00
Dan
bbad58a83f Add enumerations 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
976c2c47a2 Rename update- to set_username and set_chat_username 2022-04-24 11:56:06 +02:00
Dan
499822118f Update Pyrogram to v1.4.16 2022-04-17 17:42:14 +02:00
Dan
fde55a4a7f Improve interoperability with threads 2022-04-17 17:36:58 +02:00
Dan
1885acd594 Reformat code 2022-04-16 20:02:10 +02:00
Dan
42fdb03d24 Revert "Remove unneeded parts"
This reverts commit 849321e5ca.
2022-04-16 20:01:38 +02:00
Stark Programmer
abc84b829a
Add bound method Chat.unpin_all_messages (#959) 2022-04-16 18:33:26 +02:00
Mahesh
1c225776c9
Removed unnecessary create_task (#706) 2022-04-15 13:55:03 +02:00
Marco Burro
7a5ab4bffa
Fix inline query results typing (#958) 2022-04-15 11:35:21 +02:00
Shohih Abdul
acc2c72d6d
Improve type hinting for join_chat method (#957) 2022-04-14 20:34:55 +02:00