Commit Graph

4084 Commits

Author SHA1 Message Date
Dan
6b0dca09de Add WebAppInfo and field web_app to (Inline)KeyboardButton. 2022-04-24 11:56:07 +02:00
Dan
f6b8d78672 Fix documentation link 2022-04-24 11:56:07 +02:00
Dan
4e1b54288b Fix Client.name usage 2022-04-24 11:56:07 +02:00
Dan
ed5fab6952 Update proxy example 2022-04-24 11:56:07 +02:00
Dan
39694a2949 Add speedups.rst 2022-04-24 11:56:07 +02:00
Dan
d48cef9a26 Add ChatJoiner and get_chat_join_requests
Rename get_chat_invite_link_{members -> joiners}
Rename get_chat_invite_link_{members -> joiners}_count
2022-04-24 11:56:07 +02:00
Dan
f6f6141b19 Add approve/decline_all_chat_join_requests 2022-04-24 11:56:07 +02:00
Dan
74f970e863 Add more docstrings to stream_media 2022-04-24 11:56:07 +02:00
Dan
ef78900fdb Fixes to the documentation 2022-04-24 11:56:07 +02:00
Dan
ade31f8989 Update the session string format 2022-04-24 11:56:07 +02:00
Dan
e3419f0f3d Add InlineQueryResultContact and InlineQueryResultDocument 2022-04-24 11:56:07 +02:00
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