n/a
4a50a9183d
fix(pyrogram.utils.get_reply_to): function parameters
2025-01-29 04:55:55 +07:00
wulan17
3e36412e68
pyrofork: Add get_similar_bot method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2025-01-26 20:42:26 +07:00
Yasir Aris
1955de7a20
pyrofork: Add reply_to_story_id to copy_media_group and send_inline_bot_result method
...
Signed-off-by: Yasir Aris <git@yasir.id>
2025-01-04 16:28:41 +07:00
Shrimadhav U K
5b79294276
pyrofork: Add get_owned_bots
...
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
2024-12-21 00:30:11 +00:00
Shrimadhav U K
3426ad59a2
pyrofork: Add allow_paid_broadcast parameter to methods.
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:54 +07:00
wulan17
591cd3ac86
pyrofork: Parse send_inline_bot_result result
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:51 +07:00
wulan17
e97f441a41
pyrofork: Move some methods and types to business category
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:39 +07:00
wulan17
43809a91b1
pyrofork: Add refund_star_payment method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-06 15:53:10 +07:00
shriMADhav U k
0387a09079
Add ShippingQuery and answer_shipping_query
...
Add on_shipping_query updates.
Also, fix spelling mistakes in previous commits.
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:32 +07:00
Zaid _
fac571aff9
pyrofork: Add get_collectible_item_info
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:57 +07:00
coglione
4cec859126
pyrofork: Add high level support for pre-checkout queries and service messages for successful payments
...
* Add high level support for pre-checkout queries
* Add high level support for incoming payments
* Update and fix documentation
---------
Co-authored-by: KurimuzonAkuma <31959970+KurimuzonAkuma@users.noreply.github.com>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:41:02 +07:00
KurimuzonAkuma
ef002e0416
pyrofork: Add support for clicking web app and user profile buttons
...
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:02 +07:00
shriMADhav U k
f684ce9563
pyrofork: Add message_effect_id to send* methods
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:35:35 +07:00
wulan17
7ddd53f61b
Pyrofork: Add business_connection_id parameter to send_{animation,audio,chat_action,contact,dice,document,game,location,media_group,message,photo,poll,sticker,venue,video,video_note,voice,web_page}
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
wulan17
1b3f0933c7
Pyrofork: Update Copyright headers
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-07 20:25:08 +07:00
wulan17
48c7a5e2f9
Pyrofork: Add support for t.me/<username> link in resolve_peer method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:50:17 +07:00
wulan17
c8b2a3adca
Pyrofork: Add quote_entities parameter to send_{*} methods and Message.reply_{*} bound methods
...
also add missing parameters to InputReplyToMessage docs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
wulan17
cd0473c6af
Pyrofork: Move reply_to to pyrogram.utils
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
wulan17
570195a773
Pyrofork: Add Quote
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-10-29 15:03:19 +07:00
Np Dk
885eb4b867
import types
2023-09-28 18:20:05 +07:00
wulan17
34fcefe534
Pyrofork: Add get_bot_info and set_bot_info method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:41:08 +07:00
wulan17
ea33dc43a4
Pyrofork: Add Forum Topic Support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add ForumTopicCreated, ForumTopicClosed, ForumTopicReopened, ForumTopicEdited service message types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add can_manage_topics fields to ChatPrivileges and ChatPermissions class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add manage_topics parameter to promote_chat_member, restrict_chat_member, and set_chat_permissions methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to send_{animation,audio,cached_media,contact,dice,document,location,media_group,message,photo,poll,sticker,venue,video,video_note,voice} methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrogram: Add message_thread_id parameter to forward_message() method and forward() bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to send_game() method and copy() bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrogram: Add ForumTopic and some cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add {create,close,reopen,edit,delete}_forum_topic methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to copy_message method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add {CREATED,EDITED,DELETED}_FORUM_TOPIC ChatEvent
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: utils: Check if messages has topics atribut
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrogram: types: Message: Add error handling and is_topic_message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to send_inline_bot_result()
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: add GeneralTopicHidden and GeneralTopicUnhidden service messages types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: add message_thread_id parameter to send_chat_action
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add CloseGeneralTopic, EditGeneralTopic, ReopenGeneralTopic, HideGeneralTopic. UnhideGeneralTopic, and some cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add get_forum_topic and get_forum_topic_by_id methods
Signed-off-by: wulan17 <galihgustip@gmail.com>
Pyrofork: Update some methods to layer 160
Signed-off-by: wulan17 <wulan17@nusantararom.org>
pyrofork: Add InputReplyToMessage
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: docs: Add missing PeerUser and PeerChannel
and some cleanup
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-08-18 03:30:36 +07:00
Dan
787eabd940
Update send_inline_bot_result return type hint
2023-02-26 11:08:27 +01: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