Commit graph

26 commits

Author SHA1 Message Date
Dan
3163030574
Update send_inline_bot_result return type hint
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 00:59:20 +07:00
wulan17
d89b083bf0
Pyrogram: Add message_thread_id parameter to send_inline_bot_result()
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-17 15:39:11 +07:00
wulan17
00520678f6
Pyrogram: Add message_thread_id parameter to send_game() method and copy() bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:12:06 +07:00
Dan
bb44f36247
Add usable-by labels for methods 2022-10-14 11:54:26 +02:00
Dan
43f9b57567 Add the method answer_web_app_query 2022-04-24 11:56:07 +02:00
Dan
59ccc4de88 Documentation fixes 2022-04-24 11:56:07 +02:00
Dan
fd0044c2ec Add {get,set}_chat_menu_button 2022-04-24 11:56:07 +02:00
Dan
7654dc82e8 Add methods {get,set}_bot_default_privileges.py 2022-04-24 11:56:07 +02:00
Dan
b47591e6d2 Turn examples asynchronous 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
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
Marco Burro
7a5ab4bffa
Fix inline query results typing (#958) 2022-04-15 11:35:21 +02:00
Dan
0c0a4b5a5c Remove unneeded parameter hide_via from send_inline_bot_result 2022-04-11 15:17:16 +02:00
Dan
7bfcd5ac5f Revamp bot commands and bot command scopes
Closes #777
2022-03-28 13:23:12 +02:00
Andrea Maugeri
aa41ac5fd2
Fix issue in set_bot_commands (#778) 2022-03-28 11:48:15 +02:00
Dan
626a1bd938 Update copyright year 2022-01-07 10:23:45 +01:00
Dan
8c8288412f Various improvements 2022-01-07 10:18:51 +01:00
Dan
f6625192d0 Add parameter protect_content to send_* methods 2022-01-03 11:12:24 +01:00
Jonathan
293e852afd
Add new method set_bot_commands (#657)
* a new method set_bot_commands

* Delete bot_commands_list.py

* Update set_bot_commands.py

* Update __init__.py

* Update set_bot_commands.py

* Update set_bot_commands.py

* Update bot_command.py

* Update set_bot_commands.py

* Update set_bot_commands.py

* Update compiler.py

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2021-05-11 10:22:17 +02:00
Dan
2eb7ab2f6e Add support for user mentions inside inline query results 2021-03-17 17:26:51 +01:00
Dan
182768a5d3 Add support for LoginUrl buttons 2021-03-17 17:13:55 +01:00
Dan
7dda167c09 Update copyright notice
Year 2021
2021-01-01 22:58:48 +01:00
Dan
c139d78b34 Fix wrong imports in examples 2020-10-31 19:29:39 +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