Commit graph

4769 commits

Author SHA1 Message Date
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
wulan17
2a70654537
pyrofork: Update API schema to Layer 187
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:02 +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
755d23028b
pyrofork: fix typos in decorators docs
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
8d8768cce4 Pyrofork: Add known error for subscription link 2024-08-24 23:03:39 +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
4ac0fcc35f
pyrofork: Update API schema to Layer 186
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-19 18:58:03 +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
ccfac93e84
Merge pull request #89 from MrMissx/main
fix(promote_chat_member): add fallback empty string rank
2024-08-07 19:42:13 +07:00
mrmissx
74f5a3fe29
fix(promote_chat_member): add fallback empty string rank
rank value error when called via `Chat.promote_member`
2024-08-03 21:35:12 +07:00
wulan17
daf6f91600
pyrofork: Bump version to 2.3.39
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-03 01:25:55 +07:00
wulan17
e0e5bdb2cd
pyrofork: Update send_invoice doc
also add support for non-iterable prices

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-03 01:25:37 +07:00
f030f00e9d
Merge pull request #88 from Sahidmalik001/patch-1
Fix error in `RequestedChats` class parsing method  Corrected the par…
2024-08-03 01:02:47 +07:00
Sahid malik
1abd0673b7
Fix error in RequestedChats class parsing method Corrected the parsing logic in _parse method to handle different types of peer objects. Updated list handling for chats and users to ensure they are correctly populated. 2024-08-02 22:45:40 +05:30
wulan17
69179879fc
pyrofork: Bump version to 2.3.38
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:59:51 +07:00
wulan17
569c515732
pyrofork: Refactor request_chat/channel/user
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:56:51 +07:00