Commit graph

333 commits

Author SHA1 Message Date
wulan17
4ae45da1ec
pyrofork: Add send_paid_media method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 20:11:55 +07:00
wulan17
adf5ad50d1
pyrofork: fix derps
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-01 20:11:50 +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
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
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
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
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
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
7328ccdf7c
pyrofork: Implement entities in Poll question and options
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:51:32 +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
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
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
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
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
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
9a50847108
Pyrofork: methods: send_media_group: Remove extras comma (,)
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-08 21:28:52 +07:00
XiaoCai
fd0a23a528
docs(update_birthday): Fix error in examples 2024-04-08 00:50:11 +08:00
wulan17
fa0376c458
Pyrofork: Add update_personal_chat method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
wulan17
8ca9045ebc
Pyrofork: Add update_birthday method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
wulan17
52b23f2a19
Pyrofork: Add UpdateBotBusinessConnect handler
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
wulan17
cc91ee9f44
Pyrofork: Add edited and deleted bot business message(s) handler
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
wulan17
7ddd53f61b
Pyrofork: Add business_connection_id parameter to send_{animation,audio,chat_action,contact,dice,document,game,location,media_group,message,photo,poll,sticker,venue,video,video_note,voice,web_page}
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
wulan17
48fed9347a
Pyrofork: Add UpdateBotNewBusinessMessage updates handler
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
XiaoCai
0e1f7ad712
docs(get_custom_emoji_stickers): Fix errors in documentation 2024-03-24 14:15:05 +08:00
1f9d17fd19
Merge pull request #54 from X1A0CA1/main
Update API Layer and fix a bug
2024-03-23 18:40:47 +07:00
XiaoCai
6140e2a8b8
feat(get_custom_emoji_stickers): Supports passing Int and List parameter 2024-03-19 15:17:30 +08:00
XiaoCai
43fb830382
Fix AttributeError when calling add_sticker_to_set method. 2024-03-18 22:27:13 +08:00
Tomi Prasetio
dfc027c2ff
Refactor: Use io module for seek operation in worker function 2024-03-17 11:08:58 +07:00
XiaoCai
18289f96b5
fix: Fix AttributeError when calling get_send_as_chats() 2024-03-01 16:11:24 +08:00
wulan17
3049e6e63b
Pyrofork: Fix NoneType error when sending video as media group
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-29 21:42:24 +07:00
wulan17
ce46d49ec2
Pyrofork: Add OSError Exception handling to send_media_group
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-29 21:42:23 +07:00
KurimuzonAkuma
13d8b10deb
Pyrofork: Add support for self-destructing video notes
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-07 20:35:43 +07:00
wulan17
1b3f0933c7
Pyrofork: Update Copyright headers
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-07 20:25:08 +07:00
wulan17
68ca84599f
Pyrofork: fix restrict_chat_member method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-30 18:50:51 +07:00
Yasir Aris M
4c11bcdc7f
Pyrofork: Message Reaction Update (#43)
* Pyrofork: Message Reaction Update

---------

Signed-off-by: Yasir Aris M <yasiramunandar@gmail.com>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Co-authored-by: shriMADhav U k <hetzner@shrimadhavuk.me>
Co-authored-by: Yasir Aris M <yasiramunandar@gmail.com>
Co-authored-by: wulan17 <wulan17@nusantararom.org>
2024-01-22 23:26:09 +07:00
wulan17
bc17bb6218
Pyrofork: Update set_slow_mode usable-by
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-15 22:24:54 +07:00
wulan17
08f0214252
Pyrofork: Update set_chat_protected_content usable-by
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-15 22:21:45 +07:00
wulan17
a95c1b6ac1
Pyrofork: Add ChannelPrivate exception handler to get_dialogs method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-12 00:26:44 +07:00
wulan17
f2b6182584
Pyrofork: Move duplicated codes to separate method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-12 00:26:44 +07:00