Commit Graph

4427 Commits

Author SHA1 Message Date
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
KurimuzonAkuma
c5ddb21bde Update Pyrogram to v2.1.17 2024-04-20 16:14:27 +03:00
KurimuzonAkuma
7984887da6 Add raw attribute to Chat and User class 2024-04-20 15:52:15 +03:00
KurimuzonAkuma
904d0ba884 Fixed some documentation mistakes 2024-04-20 14:14:58 +03:00
KurimuzonAkuma
826881dd65 Add update_personal_channel and get_personal_channels methods 2024-04-20 14:08:03 +03:00
KurimuzonAkuma
52b473197e Add personal_channel and personal_channel_message attributes to Chat class 2024-04-16 16:19:08 +03:00
KurimuzonAkuma
e6238f6988 Fix wrong typehint for message_id in vote_poll method 2024-04-16 16:06:56 +03:00
KurimuzonAkuma
737c9b8765 Add support for business bots 2024-04-13 15:26:00 +03:00
KurimuzonAkuma
9a993b918e Add suport for slug to join/leave folder 2024-04-05 12:11:31 +03:00
KurimuzonAkuma
e31edb62b8 Add new check_gift_code method 2024-04-05 12:11:20 +03:00
KurimuzonAkuma
a9ac50caed Renamed some parameters of GiftCode class 2024-04-05 10:43:05 +03:00
KurimuzonAkuma
3da4c83108 Fixed some documentation mistakes 2024-04-05 10:42:48 +03:00
KurimuzonAkuma
4d738a2f42 Fix create_forum_topic example 2024-04-05 00:38:21 +03:00
KurimuzonAkuma
5a6d4de9dd Add some errors to known errors 2024-04-02 01:22:07 +03:00
KurimuzonAkuma
2e931f73bd Add new update_birthday method 2024-04-01 23:59:55 +03:00
KurimuzonAkuma
6b79475be4 Add birthday attribute to Chat class 2024-04-01 23:44:28 +03:00
KurimuzonAkuma
68ffa1ffc2 Update API schema to Layer 177 2024-04-01 23:23:54 +03:00
KurimuzonAkuma
ed6891a4f4 Fix get_scheduled_messages 2024-04-01 18:11:11 +03:00
ALi.w
76d5249daa
Add is_public parameter to set_profile_photo and minor fixes (#35)
* Fix invalid usage of input_message_content.write method (without await).

Signed-off-by: Aliwoto <aminnimaj@gmail.com>

* Fix promote_chat_member using can_post_stories for edit_story permission.

Signed-off-by: Aliwoto <aminnimaj@gmail.com>

* Refactor get_forum_topics_by_id method and make sure to pass messages parameter to it (if it exists).

Signed-off-by: Aliwoto <aminnimaj@gmail.com>

* Add fallback parameter to set_profile_photo method.

Signed-off-by: Aliwoto <aminnimaj@gmail.com>

* Fix download_media method not checking for file_id.

Signed-off-by: Aliwoto <aminnimaj@gmail.com>

* Rename fallback to is_public

* Revert get_forum_topics_by_id.py

---------

Signed-off-by: Aliwoto <aminnimaj@gmail.com>
Co-authored-by: KurimuzonAkuma <31959970+KurimuzonAkuma@users.noreply.github.com>
2024-03-29 19:41:53 +03:00
KurimuzonAkuma
50dbfd33fe Renamed ttl_seconds to view_once in send_video_note and send_voice 2024-03-24 21:14:52 +03:00
KurimuzonAkuma
3b13c0b4c5 Update Pyrogram to v2.1.16 2024-03-23 18:18:46 +03:00