Commit Graph

4458 Commits

Author SHA1 Message Date
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
KurimuzonAkuma
f3951b7aa6 Fix docs typing for AvailableEffect 2024-06-01 21:13:35 +03:00
KurimuzonAkuma
a2347b09a9 Fix expandable blockquote 2024-06-01 11:09:01 +03:00
KurimuzonAkuma
5a5c9b67c2 Update Pyrogram to v2.1.20 2024-06-01 01:47:05 +03:00
KurimuzonAkuma
3566ee12df Add Invoice type 2024-06-01 01:45:31 +03:00
coglione
a46e4d593b
Add high level support for pre-checkout queries and service messages for successful payments (#67)
* 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>
2024-06-01 01:01:22 +03:00
KurimuzonAkuma
ff3d53e142 Write update state to session only if Client.skip_updates = False 2024-06-01 00:52:22 +03:00
KurimuzonAkuma
9a7d2ee0bd Remove business handlers 2024-06-01 00:48:49 +03:00
KurimuzonAkuma
feff7cd29d Add get_available_effects method 2024-06-01 00:43:26 +03:00
KurimuzonAkuma
d9252cd187 Update methods to new layer 2024-06-01 00:12:59 +03:00
KurimuzonAkuma
6814277a74 Update API schema to Layer 181 2024-05-31 23:03:06 +03:00
KurimuzonAkuma
5c01cb9466 Add some errors to known errors 2024-05-31 00:44:08 +03:00
KurimuzonAkuma
714feda6ef Update Pyrogram to v2.1.19 2024-05-26 19:22:07 +03:00
KurimuzonAkuma
60334bebeb Add support for clicking web app and user profile buttons
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
2024-05-25 15:28:04 +03:00
KurimuzonAkuma
5e543d3afc Add force_full parameter in get_chat method 2024-05-25 14:59:17 +03:00
KurimuzonAkuma
0d2bd64871 Handle FloodPremiumWait error
Closes KurimuzonAkuma/pyrogram#64
2024-05-24 13:18:36 +03:00
KurimuzonAkuma
823192a393 Update MIN_CHANNEL_ID 2024-05-24 12:58:08 +03:00
KurimuzonAkuma
bf43f6fca1 Add via_join_request attribute to ChatMemberUpdated class
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
2024-05-19 17:24:09 +03:00
KurimuzonAkuma
cee41a0531 Add view_once parameter to send_photo 2024-05-19 16:30:21 +03:00
KurimuzonAkuma
cdcd805cb5 Rename increment_story_views to view_stories 2024-05-15 21:08:58 +03:00
KurimuzonAkuma
cc4aa8a2d3 Fix copy methods spoilers 2024-05-15 18:54:23 +03:00
KurimuzonAkuma
0d61c4ef7e Update API schema 2024-05-15 17:52:52 +03:00
KurimuzonAkuma
d1d9989a69 Update Pyrogram to v2.1.18 2024-05-11 16:10:42 +03:00
KurimuzonAkuma
06f689ebdb Rename increment_message_views method to view_messages 2024-05-11 16:10:32 +03:00
KurimuzonAkuma
d2b710da9a Fix requested_chats 2024-05-09 23:19:20 +03:00
KurimuzonAkuma
53ab40fef9 Add increment_message_views method 2024-05-05 19:47:04 +03:00