Commit Graph

4109 Commits

Author SHA1 Message Date
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
Dan
cb3d389b9d Update Pyrogram to v1.4.15 2022-04-12 14:03:09 +02:00
Danstiv
69a50fb3b2
Fix TLObject.__repr__ (#953)
* Fix __repr__ method

* Style fixes

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-04-12 14:01:40 +02:00
Tofik Denianto
874709c258
Remove hide_via param from reply_inline_bot_result (#952) 2022-04-11 23:52:32 +02:00
Dan
0c0a4b5a5c Remove unneeded parameter hide_via from send_inline_bot_result 2022-04-11 15:17:16 +02:00
Dan
16de8b7325 Update Pyrogram to v1.4.14 2022-04-11 14:53:31 +02:00
Dan
d6c80ff0f9 Fix non-flags parameters with the same name "flags" being treated as TL flags 2022-04-11 14:52:59 +02:00
Dan
82b029c3bf Use Optional[Type] instead of Union[Type, None] 2022-04-11 14:34:29 +02:00
Dan
e8250bd576 Add missing backslash to the pattern 2022-04-11 14:29:17 +02:00
Dan
849321e5ca Remove unneeded parts 2022-04-11 14:27:20 +02:00
Dan
2017493c9e Update Pyrogram to v1.4.13 2022-04-11 12:54:19 +02:00
Dan
8b92ac8b7f Add support for multiple TL flags 2022-04-11 12:46:29 +02:00
dogghi
a4fe5fbfc8
Add missing on_chat_join_request decorator to docs (#947) 2022-04-11 11:21:28 +02:00
Nick
688c24bc3e
Update API schema to Layer 140 (#949) 2022-04-11 11:16:26 +02:00
Dan
71f3125c6b Update Pyrogram to v1.4.12 2022-03-28 21:04:25 +02:00