Commit graph

3319 commits

Author SHA1 Message Date
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
wulan17
5de44baff4
Pyrofork: Bump version to 2.3.20
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-03-23 18:56:13 +07:00
omg-xtao
3f34c96175
Fix ConnectionResetError when only ping task
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-03-23 18:54:51 +07:00
KurimuzonAkuma
92e4ca845b
Increase watchdog interval to 15 minutes
https://core.telegram.org/api/updates#recovering-gaps
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-03-23 18:50:28 +07:00
wulan17
3b5db0b988
[DNM] Revert "feat(storage): migrated to aiosqlite"
This reverts commit 8193d87e2c.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-03-23 18:44:34 +07:00
1f9d17fd19
Merge pull request #54 from X1A0CA1/main
Update API Layer and fix a bug
2024-03-23 18:40:47 +07:00
0692acbc60
Merge pull request #55 from troublescope/main
Refactor: Use io module for seek operation
2024-03-21 13:22:14 +07:00
XiaoCai
6140e2a8b8
feat(get_custom_emoji_stickers): Supports passing Int and List parameter 2024-03-19 15:17:30 +08:00
XiaoCai
4c9a4f972e
feat(sticker): Adding "needs_repainting" attribute to sticker class 2024-03-19 13:28:52 +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