Yasir Aris M
21a3045890
pyrofork: Bump version to 2.3.53
...
Signed-off-by: Yasir <yasiramunandar@gmail.com>
2024-12-21 00:34:10 +00:00
Yasir Aris M
481817649b
pyrofork: Add Error handler
...
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
2024-12-21 00:30:11 +00:00
Yasir Aris M
bd46ff3977
pyrofork: Add message_thread_id parameter to unpin_all_chat_messages()
...
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
2024-12-21 00:30:11 +00:00
Yasir Aris M
b21db6f931
pyrofork: Add the parameter business_connection_id to the methods pin_chat_message() and unpin_chat_message(), allowing bots to manage pinned messages on behalf of a business account
...
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
2024-12-21 00:30:11 +00:00
KurimuzonAkuma
6dcb6bfa67
pyrofork: Add custom emojis to markdown
...
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
2024-12-21 00:30:11 +00:00
KurimuzonAkuma
252882851e
pyrofork: Add filters support for raw handler
...
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
2024-12-21 00:30:11 +00:00
KurimuzonAkuma
ae3bc516fb
pyrofork: Add forward_media_group method
...
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
2024-12-21 00:30:11 +00:00
Shrimadhav U K
5b79294276
pyrofork: Add get_owned_bots
...
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
2024-12-21 00:30:11 +00:00
Yasir Aris M
08af7a1b66
pyrofork: Fix missing argument on Message
...
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
2024-12-21 00:30:11 +00:00
shriMADhav U k
d3c945f6b6
pyrofork: Add alternative_videos to Message
2024-12-21 00:30:11 +00:00
wulan17
f6f003d25a
pyrofork: Bump version to 2.3.52
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-30 01:40:56 +07:00
wulan17
bba87d6e52
pyrofork: Add reply_to_chat_id parameter to copy_message method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-30 01:40:26 +07:00
wulan17
c9bbeec525
pyrofork: Refactor Poll
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-30 01:40:20 +07:00
msx98
dd9ae86d8b
Catch PeerIdInvalid in get_dialogs
2024-11-29 13:38:29 +02:00
wulan17
efc0272186
pyrofork: Bump version to 2.3.51
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-25 23:40:43 +07:00
n/a
45b47af9b2
fix(py3.9): use List from typing for type hinting instead of built-in list
2024-11-25 07:14:37 +07:00
n/a
ab8f854385
fix: resolve TypeError by correctly positioning invert_media parameter
2024-11-23 17:10:53 +07:00
wulan17
6f5bd1392b
pyrofork: Bump version to 2.3.50
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-22 21:55:02 +07:00
wulan17
1bcf2f7be6
pyrofork: fix search_message
...
* TypeError: Search.__init__() got an unexpected keyword argument 'thread_id'
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-22 21:54:17 +07:00
wulan17
efce392266
pyrofork: Add missing allow_paid_broadcast parameter to copy_message and forward_messages method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-22 21:49:15 +07:00
wulan17
5dda91d3b0
pyrofork: Bump version to 2.3.49
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:38:20 +07:00
wulan17
4e909508e5
pyrofork: Add thread_id parameter to search_messages and search_messages_count methods
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:55 +07:00
KurimuzonAkuma
4ced5fbd8b
pyrofork: Add star_gift in Message
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:55 +07:00
shriMADhav U k
52f1b97c84
pyrofork: Add first_send_date, last_send_date, is_sold_out to Gift
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:54 +07:00
KurimuzonAkuma
680918eed7
pyrofork: Steal Star Gifts changes from KurimuzonAkuma fork ( #100 )
...
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:54 +07:00
Shrimadhav U K
3426ad59a2
pyrofork: Add allow_paid_broadcast parameter to methods.
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:54 +07:00
wulan17
cf67f9534c
pyrofork: Add invert_media parameter to edit_inline_{caption,message} methods
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:53 +07:00
shriMADhav U k
b437bc1c46
pyrofork: Add raw attribute to ChatMemberUpdated
...
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:53 +07:00
shriMADhav U k
307b700df3
Added the field via_chat_folder_invite_link to the class ChatMemberUpdated.
...
Bot API 6.7
April 21, 2023
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:52 +07:00
wulan17
591cd3ac86
pyrofork: Parse send_inline_bot_result result
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:51 +07:00
wulan17
7726e22161
pyrofork: Update edit_message_media and edit_inline_media description
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:51 +07:00
wulan17
4bcc690083
pyrofork: Remove unused animated and videos field from stickerset
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:50 +07:00
wulan17
f990b1e7f9
pyrofork: Update documentation url
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-13 01:54:55 +07:00
wulan17
6e66a7d4b2
pyrofork: Bump version to 2.3.48
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-08 21:59:21 +07:00
KurimuzonAkuma
f30aa0077a
Add get_user_star_gifts method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-08 21:56:46 +07:00
KurimuzonAkuma
0a6cc8b5a4
Add show_star_gift and hide_star_gift method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-08 21:56:45 +07:00
KurimuzonAkuma
f23f450c62
Add convert_star_gift method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-08 21:56:45 +07:00
KurimuzonAkuma
d4649275e9
Add send_star_gift method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-08 21:56:45 +07:00
KurimuzonAkuma
bb96ca8597
Add get_star_gifts method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-08 21:56:45 +07:00
wulan17
e4968df4c9
pyrofork: Move some method and types to payments category
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-08 21:56:45 +07:00
KurimuzonAkuma
b152bd9c84
Add new apply_gift_code, check_gift_code, get_payment_form, and send_payment_form methods
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-08 21:56:45 +07:00
wulan17
95eba2ce77
pyrofork: Add get_message_read_participants method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-08 21:56:44 +07:00
wulan17
a6b69228e8
pyrofork: fix plugins loader error on windows
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-08 21:56:27 +07:00
wulan17
923ad51dd7
pyrofork: Bump version to 2.3.46
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-25 20:09:48 +07:00
Shrimadhav U K
c3df58b4c7
Add emoji to send_sticker and reply_sticker.
...
KurimuzonAkuma/pyrogram#86
Co-authored-by: Surendra9123 <Surendra9123@users.noreply.github.com>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-25 20:08:33 +07:00
wulan17
2d83118f0f
pyrofork: Remove get_nearby_chats method
...
Removed by telegram
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-25 20:08:33 +07:00
wulan17
3ee16dac4e
pyrofork: Ignore excluded plugins [2/2]
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-25 20:08:33 +07:00
wulan17
74376f8da5
pyrofork: Add copy_text field to InlineKeyboardButton
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-25 20:08:33 +07:00
wulan17
65190eb195
pyrofork: Bump version to 2.3.46
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-13 22:43:29 +07:00
RabbitFoRed
a403d83f7e
pyrofork: Ignore excluded plugins
...
currently if you specify a plugin to exclude in pyrogram
the client first imports it (caea59cc17/pyrogram/client.py (L874) )
and add_handler() (caea59cc17/pyrogram/client.py (L880) )
and then after this it uses remove_handler() (caea59cc17/pyrogram/client.py (L948) )
this usually works well in most case,
but in a few case if the module to exclude has an error,
this is not handled and stops the program,
so need to fix the modules even if it not the target of interest (as it is in exclude=[])
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-13 22:41:47 +07:00
wulan17
6543fa11b6
pyrofork: Add InputPeer support for utils.get_raw_peer_id and utils.get_peer_id
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-13 22:41:47 +07:00
wulan17
57155cbdfa
pyrofork: fix typo in set_chat_photo
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-13 22:41:47 +07:00
wulan17
caea59cc17
pyrofork: Bump version to 2.3.45
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:42 +07:00
shriMADhav U k
63db641f59
Try to return the service message (when applicable) in the set_chat_photo
...
- Documentation Fixes
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:12 +07:00
wulan17
f7e1f214c6
pyrofork: Add emoji and emoji_background parameters to set_profile_photo method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:12 +07:00
wulan17
c2cd506be9
pyrofork: Add emoji and emoji_background parameters to Chat.set_photo bound method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:12 +07:00
KurimuzonAkuma
01e200e8ce
Restart client after receiving unknown constructor
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:11 +07:00
KurimuzonAkuma
4e2d553f35
Ignore PersistentTimestamp errors
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:11 +07:00
KurimuzonAkuma
ee8f11e2a0
Extract recovering gaps into a separate method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:11 +07:00
wulan17
930da9b858
pyrofork: fix PreCheckoutQuery not defined in class ShippingQuery
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:10 +07:00
KurimuzonAkuma
d70927e5a2
Add on_purchased_paid_media decorator
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:10 +07:00
wulan17
f07d6563e3
pyrofork: Add stars field to class GiveawayLaunched
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:09 +07:00
wulan17
76deb77f1c
pyrofork: Add stars field to class Giveaway
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:09 +07:00
wulan17
02eed79861
pyrofork: Add stars and is_star_giveaway field to class GiveawayResult
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:09 +07:00
shriMADhav U k
2faae08064
Added the ability to specify a payload in send_paid_media which is not used currently
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:09 +07:00
wulan17
e5327d2216
pyrofork: Add support to set emoji as Chat Photo
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:08 +07:00
wulan17
11836faab7
pyrofork: Add is_winners_hidden field to class Giveaway
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:08 +07:00
RabbitFoRed
d062b6795f
pyrofork: fix "Ignoring non-existent module error" warning when using a paths string as plugin root dir. ( #94 )
...
example code:
app = Client(...., plugins=dict(root="bot/plugins", exlude=['toremove']))
warning:
pyrogram.client - [UNLOAD] Ignoring non-existent module "bot/plugins.toremove"
2024-09-07 20:50:12 +07:00
wulan17
053232b15a
pyrofork: Bump version to 2.3.44
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-02 23:09:20 +07:00
wulan17
b412622bc7
pyrofork: Fix get_chat_photo incase photo not found and limit param is enabled
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-02 23:08:46 +07:00
wulan17
74699d8bdf
pyrofork: types: Animation: Add missing import
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-02 23:08:46 +07:00
wulan17
489337d5d0
pyrofork: fix Message.translate docs
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-02 23:08:46 +07:00
wulan17
d9c6286044
pyrofork: Add example(s) to translate_message_text method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-02 23:08:46 +07:00
wulan17
430cc9f534
pyrofork: Add reply_to_chat_id field to class Message
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-02 23:08:46 +07:00
wulan17
2ebfb80761
pyrofork: fix typos in Bound Method docs
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-02 23:08:36 +07:00
wulan17
37e39bd6ce
pyrofork: Bump version to 2.3.43
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-25 16:00:26 +07:00
wulan17
7a063e4a72
pyrofork: refactor add_sticker_to_set and create_sticker_set
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-25 15:58:19 +07:00
Zaid _
8e95ffcd6c
Pyrofork: Add translate methods
...
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
2024-08-25 15:03:00 +07:00
Yasir Aris M
efe3d90718
Pyrofork: Fix generate subcription invite link
2024-08-24 22:51:20 +07:00
wulan17
d3ffd68690
pyrofork: Bump version to 2.3.42
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-21 16:15:44 +07:00
wulan17
1d0ad21328
pyrofork: fix peer_id saved as raw id in usernames table
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-21 16:12:48 +07:00
wulan17
375d165a9c
pyrofork: Bump version to 2.3.41
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:34 +07:00
wulan17
a598ab6144
pyrofork: Add some missings service messages
...
CHAT_THEME_UPDATED
CHAT_WALLPAPER_UPDATED
CONTACT_REGISTERED
GIFT_CODE
SCREENSHOT_TAKEN
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:10 +07:00
Shrimadhav U K
9697a7f3cd
Add chat_join_type to differentiate on three different types of new_chat_members
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:09 +07:00
wulan17
ecfa97f115
pyrofork: Add top_reactors field to class MessageReactions
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:09 +07:00
wulan17
3061115d57
pyrofork: Add send_paid_reaction method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:09 +07:00
wulan17
2317643727
pyrofork: methods: edit_message_media: parse caption_entities field from InputMedia
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:09 +07:00
wulan17
56efb88047
pyrofork: Add subscription_expired, subscription_period, and subscription_price field to class ChatInviteLink
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:09 +07:00
wulan17
8854710399
pyrofork: Add subscription_period and subscription_price parameters to export_chat_invite and Chat.export_invite_link
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:08 +07:00
wulan17
889c32ca2b
pyrofork: subscription_until_date field to class ChatMember
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:08 +07:00
wulan17
a138170e1e
pyrofork: Add is_paid_reactions_available, subscription_until_date field to class Chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:08 +07:00
wulan17
945290692e
pyrofork: Add privacy_policy_url field to class BotInfo
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:08 +07:00
wulan17
cbd632c600
pyrofork: Refactor Reactions
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:07 +07:00
wulan17
b6d9e2c782
pyrofork: Add support for sending paid media using business bot
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:07 +07:00
wulan17
4112298666
pyrofork: Add support for question/options entities in Message.reply_poll bound method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:07 +07:00
wulan17
90dc694588
pyrofork: Add additional_price field to class Giveaway
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:07 +07:00
wulan17
22bc0140e9
pyrofork: Bump version to 2.3.40
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-07 19:54:54 +07:00
wulan17
d0a70e2929
pyrofork: Add support for non-iterable prices in create_invoice_link method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-07 19:54:08 +07:00
wulan17
ce382c2f11
pyrofork: fix AttributeError: 'KeyboardButtonRequestPeer' object has no attribute '*_requested'
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-07 19:49:54 +07:00
wulan17
b4d2d30fca
pyrofork: fix typo in class Chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-07 19:43:27 +07:00