Commit Graph

4533 Commits

Author SHA1 Message Date
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
KurimuzonAkuma
908be5c726 Update API schema to Layer 185 2024-07-31 21:36:18 +03:00
KurimuzonAkuma
46ed4f08d7 Update Pyrogram to v2.1.23 2024-07-30 15:23:16 +03:00
KurimuzonAkuma
d62f6b8f8d Fix RequestInfo docstrings 2024-07-30 12:35:40 +03:00
KurimuzonAkuma
2ff50423b8 Update Makefile 2024-07-30 12:35:26 +03:00
KurimuzonAkuma
b3deade428 Fix story_ids description in get_stories 2024-07-29 11:38:48 +03:00
S!R X
b368c19889
Fix connection to proxy (#80)
Fix the proxy bug.
2024-07-23 09:51:35 +03:00
KurimuzonAkuma
fdf1f5852c Fix getting inline session 2024-07-21 23:57:06 +03:00
KurimuzonAkuma
aa9b1072e4 Rename update_personal_channel to set_personal_channel 2024-07-16 17:03:37 +03:00
S!R X
0cda4f9c79
Fix a bug with get_session (#76)
* Fix a bug

InputBotInlineMessageID's dc_id being the same with Client's dc_id. Closes #74

---------

Co-authored-by: KurimuzonAkuma <31959970+KurimuzonAkuma@users.noreply.github.com>
2024-07-08 16:20:26 +03:00
KurimuzonAkuma
31d6a28bbd Change Exception to Unauthorized when auth key not found 2024-07-08 16:08:04 +03:00
KurimuzonAkuma
fd1fbbecc7 Update API schema to Layer 184 2024-07-08 16:08:04 +03:00
Surendra9123
7f6cf43db5
Added offset_id parameter in search_messages method (#78)
* Update search_messages.py

Added offset_id
2024-07-08 15:59:05 +03:00
Неолайн
7f55351d89
Fix stories types and obscure behavior (#77)
* Fix typos

* Fix obscure undocumented  behavior `edit_story_privacy` method by explicitly defaulting `privacy` parameter to `enums.StoriesPrivacyRules.PUBLIC`
2024-07-07 22:40:29 +03:00
KurimuzonAkuma
1e0f5f85b3 Add self_destruction filter 2024-07-05 18:45:27 +03:00
KurimuzonAkuma
a177af39fb Update API schema to Layer 183 2024-07-01 11:44:39 +03:00
KurimuzonAkuma
6a481c4588 Update Pyrogram to v2.1.22 2024-06-30 17:58:13 +03:00
KurimuzonAkuma
6302d2e152 Update API schema to Layer 182 2024-06-18 16:16:26 +03:00
Danipulok
4f5fc6b7f4
Fix sending no-sound videos in media group & sending media as videos by default in send_video (#72)
* fix: sending all videos in media groups as videos (not GIFs)

* feature: send media as video by default in `send_video`
2024-06-16 09:29:36 +03:00
Artem Ukolov
c2998466b0
Implement non-blocking TCP connection (#71)
* impl non-blocking open connection via direct

- Proxy typing
- proxy scheme validation
- TCP typing

* impl provide connection and protocol factory

* impl non-blocking open connection via proxy
2024-06-15 19:08:34 +03:00
KurimuzonAkuma
589caf4466 Add index on usernames.id
Closes: KurimuzonAkuma/pyrogram#70
2024-06-11 13:37:10 +03:00
KurimuzonAkuma
92c0295095 Add send_invoice and refund_star_payment method
Also fix some bugs and renamed some parameters of pre_checkout_query etc

Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
2024-06-07 14:11:51 +03:00
KurimuzonAkuma
579a9e2b31 Add support for deleting scheduled messages 2024-06-04 13:36:59 +03:00
KurimuzonAkuma
11cddcd8f5 Add new enums to SentCodeType class 2024-06-04 01:30:28 +03:00
KurimuzonAkuma
d460e66bf1 Add search_posts method 2024-06-01 22:31:11 +03:00
KurimuzonAkuma
c0d4fe6cfd Update Pyrogram to v2.1.21 2024-06-01 21:16:28 +03:00
KurimuzonAkuma
6ec6d68ee6 Add entities to send_poll 2024-06-01 21:14:36 +03:00