Commit Graph

4559 Commits

Author SHA1 Message Date
Gautam Kumar
95546f81cd
Fix send_media_group (#87)
when passing caption and caption_entities instead of parse_mode
2024-09-08 16:58:25 +03:00
KurimuzonAkuma
cecccd5513 Update Pyrogram to v2.1.28 2024-09-07 12:03:04 +03:00
KurimuzonAkuma
43a6ce33a1 Update set_account_ttl description 2024-09-07 09:32:14 +03:00
KurimuzonAkuma
7f635268af Add on_purchased_paid_media decorator 2024-09-06 18:30:57 +03:00
KurimuzonAkuma
6e960d018f Update methods and types for new layer 2024-09-06 17:42:06 +03:00
KurimuzonAkuma
4aa727c210 Update API schema to Layer 187 2024-09-06 17:26:37 +03:00
KurimuzonAkuma
d6bd3627af Fix message parsing in some cases 2024-09-05 21:08:42 +03:00
KurimuzonAkuma
bd85dc3d1c Fix retracting story reaction 2024-09-04 18:37:16 +03:00
KurimuzonAkuma
1de6301f2c Add new decorators 2024-09-04 18:21:32 +03:00
Gautam Kumar
f3d320f06a
Fix send_cached_media (#85) 2024-09-04 17:37:52 +03:00
KurimuzonAkuma
2683e04612 Restart client after receiving unknown constructor 2024-09-04 10:48:29 +03:00
KurimuzonAkuma
86e26cc496 Refactor parsing message 2024-09-04 10:47:24 +03:00
KurimuzonAkuma
909656b806 Return message instead of bool in set_chat_photo 2024-09-04 10:38:51 +03:00
KurimuzonAkuma
f7236fd032 Fix get_chat_photos 2024-09-02 19:27:07 +03:00
KurimuzonAkuma
82bb09c74a Ignore PersistentTimestamp errors 2024-08-28 21:09:38 +03:00
KurimuzonAkuma
5c927d87a3 Extract recovering gaps into a separate method 2024-08-28 21:07:22 +03:00
KurimuzonAkuma
18ff0bae2f Update Pyrogram to v2.1.27 2024-08-28 09:32:45 +03:00
KurimuzonAkuma
833266d4e4 Fix animation parsing 2024-08-28 09:31:42 +03:00
KurimuzonAkuma
f005189ca8 Update Pyrogram to v2.1.26 2024-08-27 16:35:10 +03:00
KurimuzonAkuma
fc68162263 Fix inline_message_id for ChosenInlineResultHandler pyrogram/pyrogram#1345 2024-08-27 13:33:18 +03:00
KurimuzonAkuma
3351e00cdc Add business_connection_id parameter to send_paid_media method 2024-08-27 12:06:23 +03:00
KurimuzonAkuma
00d1b532b8 Fix save_file in case client.me is None 2024-08-27 12:06:23 +03:00
KurimuzonAkuma
1d92c09d44 Add support for animated chat photos in get_chat_photos 2024-08-27 12:06:23 +03:00
zx
1d08f33f72
Fix type annotation on Message.reply_document (#83)
this method is a bound method for `Client.send_document`, where its type annotation for `thumb` is `Union[str, BinaryIO]`

therefore, the type annotation in `Message.reply_document` should not differ
2024-08-27 10:40:28 +03:00
KurimuzonAkuma
7377290383 Add support for pay button 2024-08-23 01:00:29 +03:00
KurimuzonAkuma
981ec3fc99 Refactor *_payment_form 2024-08-23 00:41:37 +03:00
KurimuzonAkuma
bed1244124 Add create_invoice_link method 2024-08-22 23:56:55 +03:00
KurimuzonAkuma
8ad4e9a2ab Update compiler
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
2024-08-22 23:38:46 +03:00
KurimuzonAkuma
814e2fb30c Update Pyrogram to v2.1.25 2024-08-22 17:19:54 +03:00
KurimuzonAkuma
972bae9885 Fix parameters description in send_paid_reaction method 2024-08-16 10:04:58 +03:00
KurimuzonAkuma
ee10f35717 Add send_paid_reaction method 2024-08-15 23:22:10 +03:00
KurimuzonAkuma
e2002d1920 Fix parsing paid reactions 2024-08-15 18:38:04 +03:00
KurimuzonAkuma
3d06884123 Update API schema to Layer 186 2024-08-14 17:04:22 +03:00
KurimuzonAkuma
159f6d004e Fix paid media messages 2024-08-12 19:12:17 +03:00
KurimuzonAkuma
3119b00a17 Add some errors to known errors 2024-08-11 10:00:37 +03:00
KurimuzonAkuma
b27d0396cf Add get_payment_form and send_payment_form method 2024-08-11 09:54:11 +03:00
KurimuzonAkuma
b24216c2a6 Add get_privacy and set_privacy method 2024-08-08 14:34:06 +03:00
KurimuzonAkuma
e2f7547e76 Update Pyrogram to v2.1.24 2024-08-07 02:23:00 +03:00
KurimuzonAkuma
4aa7fc49ef Add some errors to known errors
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
2024-08-07 02:06:57 +03:00
KurimuzonAkuma
8b9c1c4175 Add paid media support 2024-08-07 01:42:43 +03:00
KurimuzonAkuma
2e5cb57280 Replace folder_id parameter with from_archive in get_dialogs method 2024-08-06 23:16:54 +03:00
KurimuzonAkuma
842479ba02 Add delete_chat_history method 2024-08-06 22:52:16 +03:00
KurimuzonAkuma
7232e2d751 Add missing attributes to Dialog class and get_dialogs method 2024-08-05 16:15:31 +03:00
KurimuzonAkuma
99efba3c5a Add some errors to known errors 2024-08-05 00:31:21 +03:00
KurimuzonAkuma
438e9d2f0e Add search_contacts, set_account_ttl and get_account_ttl method 2024-08-04 15:31:31 +03:00
KurimuzonAkuma
151bbd7139 Fix typo in Chat class 2024-08-02 20:02:46 +03:00
KurimuzonAkuma
6e8c3122c4 Add reset_sessions method 2024-08-02 19:24:16 +03:00
KurimuzonAkuma
5cf43b15ed Add ActiveSessions class and session methods
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
2024-08-02 13:21:46 +03:00
KurimuzonAkuma
974f47c3b8 Merge ChatPreview with Chat and add missing attributes 2024-08-02 12:49:05 +03:00
KurimuzonAkuma
d1d486507c Add missing attributes to User class 2024-08-02 12:14:52 +03:00