Commit Graph

4533 Commits

Author SHA1 Message Date
KurimuzonAkuma
c6d18fff50 Update API schema to Layer 190 2024-10-14 14:19:55 +03:00
KurimuzonAkuma
f7d932ce6b Add star_gift filter 2024-10-14 14:02:22 +03:00
KurimuzonAkuma
dfb372daa4 Add star_gift in Message 2024-10-14 14:02:15 +03:00
KurimuzonAkuma
cd2b16e416 Merge UserStarGift into StarGift 2024-10-14 14:01:49 +03:00
KurimuzonAkuma
a8a7537b26 Add pin/unpin_forum_topic method 2024-10-13 22:05:42 +03:00
KurimuzonAkuma
22030ece5e
Update setup.py 2024-10-13 22:04:42 +03:00
KurimuzonAkuma
cc5bf1a528 Add entites support in UserStarGift type
Why couldn't it have been added in the first commit.....
2024-10-09 11:28:25 +03:00
KurimuzonAkuma
e5ecd7c97f Update python.yml 2024-10-08 22:00:56 +03:00
Mahdi K.
c38d14b718
Fix get_stories types (#97)
* Fix get_stories types

that will help the code editor with IntelliSense

* should be good
2024-10-07 17:00:32 +03:00
uNickz
5e6ad29988
Add file_name param on InputMedia (#88)
* Add file_name param on InputMedia

Add file_name param on:
 - InputMediaVideo
 - InputMediaAudio
 - InputMediaDocument

---------

Co-authored-by: KurimuzonAkuma <31959970+KurimuzonAkuma@users.noreply.github.com>
2024-10-07 12:45:46 +03:00
KurimuzonAkuma
1a9458f777 Update Pyrogram to v2.1.29 2024-10-07 12:26:04 +03:00
KurimuzonAkuma
fc4ddbc159 Add get_user_star_gifts method 2024-10-07 12:07:01 +03:00
KurimuzonAkuma
f8c41d6666 Add show_star_gift and hide_star_gift method 2024-10-07 11:00:13 +03:00
KurimuzonAkuma
1473842c68 Add convert_star_gift method 2024-10-07 10:08:35 +03:00
KurimuzonAkuma
425867072f Add send_star_gift method 2024-10-07 10:00:37 +03:00
KurimuzonAkuma
0293a5e0f4 Add get_star_gifts method 2024-10-07 09:17:50 +03:00
KurimuzonAkuma
fa287076eb Add alternative_videos to Message
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
2024-10-06 23:05:43 +03:00
Mahdi K.
b212d18bfc
Add copy_text to InlineKeyboardButton (#92) 2024-10-05 20:47:42 +03:00
nimaxin
f63bda0edf
Fix incorrect return type for start_bot method. (#91) 2024-10-05 20:05:09 +03:00
barsikus007
1f7abace7a
Add missing caption_entities parameters and utils.parse_text_entities calls (#96) 2024-10-05 20:04:28 +03:00
KurimuzonAkuma
574f76e3a4 Update API schema to Layer 189 2024-10-05 18:16:15 +03:00
KurimuzonAkuma
1fea868427 Update API schema to Layer 188 2024-09-20 00:31:01 +03:00
KurimuzonAkuma
40e6578ea8 Remove get_nearby_chats method 2024-09-10 21:31:39 +03:00
KurimuzonAkuma
6684eaf427 Return list of photos and videos instead of bool in send_payment_form 2024-09-08 18:20:41 +03:00
Gautam Kumar
95546f81cd
Fix send_media_group (#87)
when passing caption and caption_entities instead of parse_mode
2024-09-08 16:58:25 +03:00
KurimuzonAkuma
cecccd5513 Update Pyrogram to v2.1.28 2024-09-07 12:03:04 +03:00
KurimuzonAkuma
43a6ce33a1 Update set_account_ttl description 2024-09-07 09:32:14 +03:00
KurimuzonAkuma
7f635268af Add on_purchased_paid_media decorator 2024-09-06 18:30:57 +03:00
KurimuzonAkuma
6e960d018f Update methods and types for new layer 2024-09-06 17:42:06 +03:00
KurimuzonAkuma
4aa727c210 Update API schema to Layer 187 2024-09-06 17:26:37 +03:00
KurimuzonAkuma
d6bd3627af Fix message parsing in some cases 2024-09-05 21:08:42 +03:00
KurimuzonAkuma
bd85dc3d1c Fix retracting story reaction 2024-09-04 18:37:16 +03:00
KurimuzonAkuma
1de6301f2c Add new decorators 2024-09-04 18:21:32 +03:00
Gautam Kumar
f3d320f06a
Fix send_cached_media (#85) 2024-09-04 17:37:52 +03:00
KurimuzonAkuma
2683e04612 Restart client after receiving unknown constructor 2024-09-04 10:48:29 +03:00
KurimuzonAkuma
86e26cc496 Refactor parsing message 2024-09-04 10:47:24 +03:00
KurimuzonAkuma
909656b806 Return message instead of bool in set_chat_photo 2024-09-04 10:38:51 +03:00
KurimuzonAkuma
f7236fd032 Fix get_chat_photos 2024-09-02 19:27:07 +03:00
KurimuzonAkuma
82bb09c74a Ignore PersistentTimestamp errors 2024-08-28 21:09:38 +03:00
KurimuzonAkuma
5c927d87a3 Extract recovering gaps into a separate method 2024-08-28 21:07:22 +03:00
KurimuzonAkuma
18ff0bae2f Update Pyrogram to v2.1.27 2024-08-28 09:32:45 +03:00
KurimuzonAkuma
833266d4e4 Fix animation parsing 2024-08-28 09:31:42 +03:00
KurimuzonAkuma
f005189ca8 Update Pyrogram to v2.1.26 2024-08-27 16:35:10 +03:00
KurimuzonAkuma
fc68162263 Fix inline_message_id for ChosenInlineResultHandler pyrogram/pyrogram#1345 2024-08-27 13:33:18 +03:00
KurimuzonAkuma
3351e00cdc Add business_connection_id parameter to send_paid_media method 2024-08-27 12:06:23 +03:00
KurimuzonAkuma
00d1b532b8 Fix save_file in case client.me is None 2024-08-27 12:06:23 +03:00
KurimuzonAkuma
1d92c09d44 Add support for animated chat photos in get_chat_photos 2024-08-27 12:06:23 +03:00
zx
1d08f33f72
Fix type annotation on Message.reply_document (#83)
this method is a bound method for `Client.send_document`, where its type annotation for `thumb` is `Union[str, BinaryIO]`

therefore, the type annotation in `Message.reply_document` should not differ
2024-08-27 10:40:28 +03:00
KurimuzonAkuma
7377290383 Add support for pay button 2024-08-23 01:00:29 +03:00
KurimuzonAkuma
981ec3fc99 Refactor *_payment_form 2024-08-23 00:41:37 +03:00