Commit Graph

4504 Commits

Author SHA1 Message Date
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
tg:@mars_hall
9b1524dd81
Add typehints to all of the decorators classes (#34) 2024-03-22 20:50:49 +03:00
KurimuzonAkuma
e085adbe7d Add new get_scheduled_messages method 2024-03-18 14:33:27 +03:00
KurimuzonAkuma
812c3979fc Add sender_boost_count attribute to Message class 2024-03-18 07:21:02 +03:00
KurimuzonAkuma
c5d6028779 Add new get_stickers method 2024-03-16 11:27:06 +03:00
KurimuzonAkuma
0bf78fab5a Add no_sound parameter to send_video methods 2024-03-14 11:26:00 +03:00
KurimuzonAkuma
48de16b10e Add hide_sender_name and hide_captions parameters to forward 2024-03-12 17:46:00 +03:00
KurimuzonAkuma
186be99382 Add missing methods to docs compiler 2024-03-12 09:57:01 +03:00
KurimuzonAkuma
221f25dab0 Refactor sqlite storage 2024-03-11 00:18:58 +03:00
KurimuzonAkuma
8df8780841 Refactor download_media 2024-03-10 23:14:00 +03:00
KurimuzonAkuma
6f99be7ae6 Fix get_folders 2024-03-10 22:41:00 +03:00
KurimuzonAkuma
72a7c84777 Add new toggle_folder_tags method 2024-03-10 22:34:00 +03:00
KurimuzonAkuma
33df30f63d Add color attribute to Folder 2024-03-10 22:30:54 +03:00
KurimuzonAkuma
6b8d287b65 Fix recovering gaps in case of private channel 2024-03-10 20:43:00 +03:00
KurimuzonAkuma
488184654c Remove unnecessary types from docs compiler 2024-03-10 19:26:47 +03:00
KurimuzonAkuma
8aa0d07410 Update Pyrogram to v2.1.15 2024-03-08 16:26:45 +03:00
KurimuzonAkuma
deffcbf357 Add business_info attribute to Chat type 2024-03-08 16:21:22 +03:00
KurimuzonAkuma
351fda3208 Update API schema to Layer 176 2024-03-08 11:29:57 +03:00
KurimuzonAkuma
55aa162a38 Recover updates in date ascending order 2024-03-08 00:11:21 +03:00
KurimuzonAkuma
fd5d19dab1 Allow to specify a limit to message cache size 2024-03-07 12:39:50 +03:00
L
0b83b1d55b
Fix max_concurrent_transmissions typing (#31) 2024-03-07 12:14:37 +03:00
KurimuzonAkuma
27b24d49ad Fix message parsing in case of reply from private chat 2024-03-06 22:41:33 +03:00
KurimuzonAkuma
c16c83abc3 Add skip_updates parameter to Client class 2024-03-06 15:28:00 +03:00
KurimuzonAkuma
befab2f1b5 Update check_username method 2024-03-06 15:21:17 +03:00