Commit Graph

4497 Commits

Author SHA1 Message Date
Неолайн
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
KurimuzonAkuma
a5d8737426 Fix stop_poll method 2024-05-05 19:42:29 +03:00
KurimuzonAkuma
0f525362eb Add topic filter 2024-05-04 23:24:17 +03:00
KurimuzonAkuma
7f3fd978cd Fix reply_media_group 2024-05-04 12:07:44 +03:00
KurimuzonAkuma
5c92daf408 Update API schema to Layer 179 2024-04-30 17:55:00 +03:00
KurimuzonAkuma
6df467f89c Add get_call_members method 2024-04-30 16:22:00 +03:00
Danipulok
fc89b93b5a
Fix edge-case when pinned action is MessageActionHistoryClear (#49)
* fix: edge-case when pinned action is `MessageActionHistoryClear`

* fix: parsing of `ChannelAdminLogEventActionUpdatePinned` action
2024-04-30 10:25:57 +03:00
python israel
2b53d394d2
fix miss service message for MessageActionChatJoinedByRequest (#48)
* fix miss service message for MessageActionChatJoinedByRequest

Closes #47 

---------

Co-authored-by: KurimuzonAkuma <31959970+KurimuzonAkuma@users.noreply.github.com>
2024-04-28 19:01:17 +03:00
KurimuzonAkuma
9342bdfdd1
Update python.yml 2024-04-24 22:14:10 +03:00
KurimuzonAkuma
87b3fb4c1b Fix edit_inline_media 2024-04-24 11:34:16 +03:00
KurimuzonAkuma
48b94429c7 Update API schema to Layer 178 2024-04-23 23:43:49 +03:00
Andrey
6a6a59dabe
Add min_id and max_id arguments to get_chat_history method (#42)
* Add min_id and max_id arguments to get_chat_history method

* Update get_chat_history.py

---------

Co-authored-by: KurimuzonAkuma <31959970+KurimuzonAkuma@users.noreply.github.com>
2024-04-22 20:31:19 +03:00