Commit graph

3329 commits

Author SHA1 Message Date
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
wulan17
c8a8680fe9
Pyrofork: Bump version to 2.3.21
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 22:00:27 +07:00
wulan17
d624f386c1
Pyrofork: Add business_connection_id parameter to Message.reply_{animation,audio,chat_action,contact,dice,document,game,location,media_group,message,photo,poll,sticker,venue,video,video_note,voice,web_page} bound methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
wulan17
f0a4bce5a5
Pyrofork: Add is_bot_business field to class User
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07: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
1f5a4f1363
Pyrofork: Add personal_chat field to class Chat
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
wulan17
05c2770ca7
Pyrofork: Add sender_business_bot field to class Message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
wulan17
ac6f1ad669
Pyrofork: fix conflict in class Message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
wulan17
85892c23d0
Pyrofork: Add birthday field to class Chat
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:07 +07:00
KurimuzonAkuma
f326333acf
Add business_info attribute to Chat type
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:07 +07:00
XiaoCai
0e1f7ad712
docs(get_custom_emoji_stickers): Fix errors in documentation 2024-03-24 14:15:05 +08:00