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
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
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
wulan17
ee8c19d3f4
pyrofork: Add delete_scheduled_messages method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:56:51 +07:00
wulan17
b081928452
pyrofork: Add get_scheduled_messages method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:56:45 +07:00
wulan17
e97f441a41
pyrofork: Move some methods and types to business category
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:39 +07:00
wulan17
780ea9fd64
pyrofork: fix AvailableEffect doc
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:39 +07:00
wulan17
56621a6f4d
pyrofork: Add get_stars_transaction_by_id method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:39 +07:00
wulan17
c880277a4e
pyrofork: Add get_stars_transaction method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:38 +07:00
wulan17
280248f243
pyrofork: Add active_users field to class User
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:38 +07:00
wulan17
5a9c11934a
pyrofork: fix send_invoice examples
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:38 +07:00
shriMADhav U k
9669d62562
pyrofork: Add create_invoice_link
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:38 +07:00
shriMADhav U k
7c81723649
pyrofork: Add get_active_sessions
...
Stealing IDEA from hydrogram/hydrogram#41
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:37 +07:00
wulan17
9dbd784e7c
pyrofork: fix get_stories doc
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:37 +07:00
wulan17
d906970d99
pyrofork: Add join_requests_count field to class Chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:37 +07:00
wulan17
f1e2b493b6
pyrofork: Add join_request parameter to get_chat_members_count
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:37 +07:00
wulan17
bed95d6ec2
pyrofork: types: Message: topics -> topic
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:37 +07:00
wulan17
116a353477
pyrofork: Add missing parameters
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:36 +07:00
Martin Müller
4c99132f3b
Fix documentation URLs
2024-07-25 12:44:47 +02:00
wulan17
3120fb2340
pyrofork: Bump version to 2.3.37
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-23 23:47:59 +07:00
wulan17
30f5ae2994
pyrofork: Add recent_voters field to Poll
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-23 23:47:30 +07:00
wulan17
defda31c28
pyrofork: storage: mongo: fix derp
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-23 23:47:30 +07:00
wulan17
4bbbd5c460
pyrofork: Remove state when leaving chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-23 23:47:30 +07:00
hdiiofficial
c0ee103efe
pyrofork: Update MIN_CHANNEL_ID and MIN_CHAT_ID ( #81 )
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-20 23:40:06 +07:00
wulan17
5316a16a83
pyrofork: Bump version to 2.3.36
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-15 17:34:06 +07:00
wulan17
869965acf3
pyrofork: Refactor business_connection
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-15 16:58:06 +07:00
wulan17
561d3d3def
pyrofork: Bump version to 2.3.35
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 21:03:30 +07:00
wulan17
d46e8f1da4
pyrofork: Add support for requested channel/chat/user in utils.get_raw_peer_id
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 21:01:46 +07:00
wulan17
b0f449a0d6
pyrofork: Bump version to 2.3.34
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 20:35:43 +07:00
wulan17
e999da461d
pyrofork: Add missings business_connection_id
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 20:29:23 +07:00
wulan17
61398bc5a4
Revert "Add business_connection_id parameter in"
...
This reverts commit 4d6fb409b8 .
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 20:29:23 +07:00
shriMADhav U k
48e8d0c4a1
Add get_business_connection to get information about the BusinessConnection
...
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 20:29:23 +07:00
wulan17
9d0c11caf5
pyrofork: fix CallbackQuery parser errors
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 20:29:23 +07:00
shriMADhav U k
fb2d49efbd
Add business_user_connection_cache similar to message_cache
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 20:29:23 +07:00
KurimuzonAkuma
8584ea3599
Allow to specify a limit to message cache size
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 20:29:20 +07:00
wulan17
c394a3ea3a
pyrofork: Bump version to 2.3.33
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-13 15:29:00 +07:00
KurimuzonAkuma
f37c5c9f2f
Change Exception to Unauthorized when auth key not found
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-13 15:28:34 +07:00
KurimuzonAkuma
58f0031ead
Raise exception if auth key not found
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-13 15:28:34 +07:00
S!R X
4795bdbd5b
Fix a bug with get_session
...
* Fix a bug
InputBotInlineMessageID's dc_id being the same with Client's dc_id.
---------
https://github.com/KurimuzonAkuma/pyrogram/pull/76
Co-authored-by: KurimuzonAkuma <31959970+KurimuzonAkuma@users.noreply.github.com>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-13 15:27:57 +07:00
wulan17
ff69bbaf3b
pyrofork: fix Chat.promote_member NoneType error
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-13 15:27:50 +07:00
wulan17
30dad015ae
pyrofork: Bump version to 2.3.32
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-07 21:52:50 +07:00
wulan17
918a55de3b
pyrofork: Add PaymentRefunded
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-07 21:52:08 +07:00
wulan17
de5d2e747b
pyrofork: fix derp in successful_payment
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-07 21:52:08 +07:00
wulan17
5130e0a2e5
pyrofork: Add payload parameter to send_invoice
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-07 21:52:08 +07:00
wulan17
50a3919ed7
pyrofork: Bump version to 2.3.31
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-06 15:54:12 +07:00
wulan17
344f835441
pyrofork: Update PreCheckoutQuery.answer example
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-06 15:53:11 +07:00
wulan17
43809a91b1
pyrofork: Add refund_star_payment method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-06 15:53:10 +07:00
RabbitFoRed
48cf8bcb23
pyrofork: method: send_invoice: Message._parse is coroutine
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-06 15:53:10 +07:00
wulan17
83543da3e6
pyrofork: Update documentation for send_invoice and LabeledPrice
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-06 15:53:10 +07:00
wulan17
c8d2c6a152
pyrofork: Add reply_markup parameter to Client.send_invoice
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-06 14:31:16 +07:00
wulan17
0a844bd5ed
pyrofork: Bump version to 2.3.30
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-05 17:12:29 +07:00
wulan17
86831843d9
pyrofork: Fix chat/user shared parser
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-05 17:11:53 +07:00
wulan17
57175dedba
pyrofork: Bump version to 2.3.29
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-02 15:50:26 +07:00
wulan17
47ede16039
pyrofork: Update send_poll example
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-02 15:45:47 +07:00
wulan17
a95517fa19
pyrofork: fix error when copying poll messages
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-02 15:43:04 +07:00
wulan17
6bad69f04f
pyrofork: Bump version to 2.3.28
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 21:31:22 +07:00
wulan17
b6a8ab87c7
pyrofork: Add missing import
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 21:22:07 +07:00
wulan17
6f8dde7ad0
pyrofork: fix ExtendedMediaPreview parser
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 21:19:43 +07:00
wulan17
240d3bfde5
pyrofork: remove entities parameter in send_paid_media docs
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 20:41:24 +07:00
wulan17
b5a00aa539
pyrofork: Bump version to 2.3.27
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 20:13:29 +07:00
wulan17
d2dd55864c
pyrofork: Add example to send_paid_media method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 20:11:56 +07:00
KurimuzonAkuma
2e263190a2
pyrofork: Add folders
2024-07-01 20:11:56 +07:00
wulan17
4ae45da1ec
pyrofork: Add send_paid_media method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 20:11:55 +07:00
wulan17
12239964ec
pyrofork: don't append sender_chat if chat type is channel
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 20:11:55 +07:00
wulan17
2891c15fa5
pyrofork: Add PaidMedia and ExtendedMediaPreview
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 20:11:54 +07:00
wulan17
8902f8be9e
pyrofork: parser: markdown: Ignore markdown inside <code> tags
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 20:11:54 +07:00
wulan17
adf5ad50d1
pyrofork: fix derps
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 20:11:50 +07:00
wulan17
2fe3eeb96b
pyrofork: Bump version to 2.3.26
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:56 +07:00
shriMADhav U k
3a41a51359
Added support for InputMessageContent classes, according to BOT API.
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:33 +07:00
Artem Ukolov
bb4ea00d4e
Implement non-blocking TCP connection ( KurimuzonAkuma/pyrogram#71 )
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:32 +07:00
shriMADhav U k
3232a3f139
Add UpdateBusinessBotCallbackQuery in callback_query handler
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:32 +07:00
shriMADhav U k
0387a09079
Add ShippingQuery and answer_shipping_query
...
Add on_shipping_query updates.
Also, fix spelling mistakes in previous commits.
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:32 +07:00
shriMADhav U k
4d6fb409b8
Add business_connection_id parameter in
...
edit_message_caption
edit_message_media
edit_message_reply_markup
edit_message_text
stop_poll
Message.edit_text
Message.edit_media
Message.edit_reply_markup
CallbackQuery.edit_message_text
CallbackQuery.edit_message_media
CallbackQuery.edit_message_reply_markup
Poll.stop
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:32 +07:00
shriMADhav U k
d501b66f93
Add unknown_errors
...
Improve error messages.
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:32 +07:00
wulan17
ca6870502e
pyrofork: fix NoneType errors in promote_chat_member
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:28 +07:00
wulan17
8c51a192af
pyrofork: fix docs
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 17:14:12 +07:00
wulan17
1e44386a7c
pyrofork: Bump version to 2.3.25
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:29:17 +07:00
wulan17
f1bea2c32f
pyrofork: Fix story parser ( #75 )
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:11 +07:00
wulan17
c4ec16b742
pyrofork: Add send_invoice method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:10 +07:00
wulan17
d863655769
pyrofork: Fix IndexError error in Client.get_stories
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:10 +07:00
wulan17
7a9ffa2506
pyrofork: Add BotAllowed and BotApp
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:10 +07:00
wulan17
b8b014129e
pyrofork: Update copyright headers
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:10 +07:00
wulan17
bb29cc86bc
pyrofork: remove sticker field from GiftedPremium
...
not exist in raw types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:10 +07:00
vpcreatz
955b261101
pyrofork: Fix UnboundLocalError: local variable 'from_user' referenced before assignment
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:09 +07:00
wulan17
7c0481d2f0
Partial Revert "pyrofork: Handle FLOOD_PREMIUM_WAIT"
...
This reverts commit e414aa2812 .
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:09 +07:00
shriMADhav U k
30272728be
Add Hashtag Search methods
...
search_global_hashtag_messages
search_global_hashtag_messages_count
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:09 +07:00
wulan17
e823160c61
pyrofork: Add message_thread_id to general topic messages
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:09 +07:00
xiaocai
d162ee1542
Docs Fix
2024-06-13 15:44:28 +08:00
xiaocai
ed6dad7426
feat: Can set admin title when promote a chat member.
2024-06-13 15:43:35 +08:00
wulan17
b4c6f66244
pyrofork: Bump version to 2.3.24
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-04 00:11:33 +07:00
wulan17
75d6e79917
pyrofork: add invert_media parameter to copy,edit_{caption,media},reply_{animation,media_group,photo,video} bound methods
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-04 00:11:02 +07:00
wulan17
fa7b7f3c58
pyrofork: Bump version to 2.3.23
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 16:43:00 +07:00
wulan17
454c2614e2
pyrofork: fix check_if_has_matching_listener error when message.chat is None
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 16:42:07 +07:00
wulan17
ad4dc01c8d
Revert "pyrofork: handlers: message: check: fix errors when message.chat or message.from_user is None"
...
This reverts commit c8768f65cf .
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 16:38:31 +07:00
wulan17
1cbcffded1
Pyrofork: Bump version to 2.3.22
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:59:24 +07:00
wulan17
7328ccdf7c
pyrofork: Implement entities in Poll question and options
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:51:32 +07:00
wulan17
59461adc55
pyrofork: add InlineKeyboardButtonBuy and MessageInvoice
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:57 +07:00
Zaid _
fac571aff9
pyrofork: Add get_collectible_item_info
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:57 +07:00
wulan17
ebbd5dd0bb
pyrofork: Add invert_media parameter to edit_message method and Message.edit_text bound method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:57 +07:00
wulan17
b97407edab
pyrofork: add invert_media parameter to copy_message,edit_message_caption,edit_message_media,send_{animation,cached_media,media_group,photo,video} methods
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:57 +07:00
wulan17
a50c72b375
pyrofork: add invert_media field to class Message
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:56 +07:00
wulan17
c8768f65cf
pyrofork: handlers: message: check: fix errors when message.chat or message.from_user is None
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:56 +07:00
KurimuzonAkuma
a592c984fa
pyrofork: Fix recovering gaps in case of private channel
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:50 +07:00
KurimuzonAkuma
4aa4d1a74a
pyrofork: Add skip_updates parameter to Client class
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:41 +07:00
wulan17
c4362ad535
pyrofork: Add blockquote expandable parser
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:42:40 +07:00
coglione
4cec859126
pyrofork: Add high level support for pre-checkout queries and service messages for successful payments
...
* Add high level support for pre-checkout queries
* Add high level support for incoming payments
* Update and fix documentation
---------
Co-authored-by: KurimuzonAkuma <31959970+KurimuzonAkuma@users.noreply.github.com>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:41:02 +07:00
KurimuzonAkuma
8b52f1f71d
pyrofork: Add get_available_effects method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:39:02 +07:00
KurimuzonAkuma
ef002e0416
pyrofork: Add support for clicking web app and user profile buttons
...
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:02 +07:00
KurimuzonAkuma
ed6403db3c
pyrofork: Add view_once parameter to send_photo
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:02 +07:00
KurimuzonAkuma
40b679a878
pyrofork: Add topic filter
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:01 +07:00
shriMADhav U k
f84e1f6a5e
pyrofork: add ability to specify our own interactions in send_chat_action
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:01 +07:00
shriMADhav U k
f03f5ffd79
pyrofork: Update ChatMemberUpdatedHandler to support UpdateBotStopped updates
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:01 +07:00
shriMADhav U k
b7dcc5b298
pyrofork: Add gifted_premium to Message
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:00 +07:00
shriMADhav U k
8ea36645c0
pyrofork: Add revoke_messages to ban_chat_member
...
pyrogram/pyrogram#1421
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:35:35 +07:00
shriMADhav U k
e70556f00f
pyrofork: Added the field via_join_request to the class ChatMemberUpdated.
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:35:35 +07:00
shriMADhav U k
f2ebe880dc
pyrofork: Added the max_reaction_count to the Chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:35:35 +07:00
Gautam Kumar
d2ee1653a7
pyrofork: update MIN_CHANNEL_ID
...
update MIN_CHANNEL_ID
Reference: https://t.me/pyrogramchat/593087
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:35:35 +07:00
shriMADhav U k
f684ce9563
pyrofork: Add message_effect_id to send* methods
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:35:35 +07:00
shriMADhav U k
45a7764153
pyrofork: Added the field effect_id to the Message.
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:34:47 +07:00
shriMADhav U k
e414aa2812
pyrofork: Handle FLOOD_PREMIUM_WAIT
...
Squashed commit of the following:
commit 546b603
commit 0ac858d
commit c8a9725
Ref: https://t.me/swiftgram/72
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:34:47 +07:00
shriMADhav U k
21de92d909
pyrofork: Support for Chat Video Type
...
Add has_animation, is_personal, minithumbnail to ChatPhoto
Change return type of get_chat_photos
Inspiration from KurimuzonAkuma/pyrogram#60 but MVB_#1333
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:34:47 +07:00
wulan17
622616b38d
pyrofork: remove animated, emojis, and videos parameters from create_sticker_pack method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:34:46 +07:00
shriMADhav U k
eae031f79a
pyrofork: Add trigger and watch emoji animations in send_chat_action and reply_chat_action
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:34:46 +07:00
wulan17
05386b5f56
Pyrofork: Bump version to v2.3.20.post3
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-08 21:29:29 +07:00
wulan17
9a50847108
Pyrofork: methods: send_media_group: Remove extras comma (,)
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-08 21:28:52 +07:00
wulan17
2681025b0b
Pyrofork: Bump version to v2.3.20.post2
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-08 18:10:39 +07:00
月
be47594cf9
Merge pull request #61 from AnonymousX1025/patch-1
...
Fix more typo
2024-04-08 18:09:27 +07:00
˹ᴧɴσɴʏᴍσᴜs ꭙ˼
af9e137b28
Typo
2024-04-08 11:32:41 +05:30
XiaoCai
fd0a23a528
docs(update_birthday): Fix error in examples
2024-04-08 00:50:11 +08:00
wulan17
d1e20a070f
Pyrofork: Bump version to v2.3.21.post1
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-07 23:18:14 +07:00
wulan17
a1e872962c
Pyrofork: Fix birthday field docs in class Chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-07 23:17:15 +07:00
wulan17
756a42c595
Pyrofork: fix get_chat exception when personal_channel_id is None
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-07 23:17:08 +07:00
wulan17
2d090a6db5
Pyrofork: Fix typo in parse_deleted_messages
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-07 23:09:20 +07:00