Commit graph

430 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
569c515732
pyrofork: Refactor request_chat/channel/user
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:56:51 +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
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
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
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
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
869965acf3
pyrofork: Refactor business_connection
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-15 16:58:06 +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
wulan17
9d0c11caf5
pyrofork: fix CallbackQuery parser errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 20:29:23 +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
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
344f835441
pyrofork: Update PreCheckoutQuery.answer example
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-06 15:53:11 +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
86831843d9
pyrofork: Fix chat/user shared parser
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-05 17:11:53 +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
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
KurimuzonAkuma
2e263190a2
pyrofork: Add folders 2024-07-01 20:11:56 +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
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
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