Commit Graph

4533 Commits

Author SHA1 Message Date
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
KurimuzonAkuma
f6ca25af72 Add custom emojis to markdown 2024-03-02 22:04:26 +03:00
KurimuzonAkuma
254d8936f6 Add quotes to markdown 2024-03-02 21:31:21 +03:00
KurimuzonAkuma
2ccdf23e6e Add show_above_text to Message.edit bound method 2024-03-01 17:15:39 +03:00
KurimuzonAkuma
210b054544 Fix get_folders 2024-03-01 13:02:15 +03:00
KurimuzonAkuma
3e4c3b9230 Update Pyrogram to v2.1.14 2024-02-29 15:04:51 +03:00
KurimuzonAkuma
04e0fc87fe Fix parameter descriptions 2024-02-29 14:45:31 +03:00
KurimuzonAkuma
7556d3e386 Add ttl_seconds attribute to Voice and VideoNote class 2024-02-24 13:32:55 +03:00
KurimuzonAkuma
313dd665e7 Add raw attribute to Story class 2024-02-23 11:55:29 +03:00
KurimuzonAkuma
35f2867b28 Add raw attribute to Message class 2024-02-23 11:55:23 +03:00
KurimuzonAkuma
def5ccbc4a Add new parameters to send_code method 2024-02-20 15:35:00 +03:00
KurimuzonAkuma
ccd9688e23 Add support for ApplyBoost service messages 2024-02-20 11:05:32 +03:00
KurimuzonAkuma
52c0fa961b Add init_connection_params parameter to Client class 2024-02-20 01:44:38 +03:00
Gor
40ddcbca60
Add system_lang_code to Client and missing enums to SentCodeType (#27) 2024-02-20 01:27:00 +03:00
KurimuzonAkuma
f783c77368 Add is_contact_require_premium attribute to User class 2024-02-20 00:58:17 +03:00
KurimuzonAkuma
a777b8ba81 Update reply filter to work with stories 2024-02-18 19:04:02 +03:00
KurimuzonAkuma
d516397089 Fix message parsing in case of reply to story 2024-02-18 18:15:35 +03:00
KurimuzonAkuma
4ccc71685a Add RequestedChats type 2024-02-18 11:29:23 +03:00
KurimuzonAkuma
ede750ffa3 Add new method check_username 2024-02-17 10:14:12 +03:00
sliva0
e96dccb90a
Add Str.html and Str.markdown typing (#26) 2024-02-16 17:58:09 +03:00
KurimuzonAkuma
c1b91f5d43 Update Pyrogram to v2.1.13 2024-02-16 17:54:22 +03:00
KurimuzonAkuma
30d3b97d20 Add deleted parameter to ForumTopic class 2024-02-16 17:47:22 +03:00