Commit graph

3338 commits

Author SHA1 Message Date
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
Marvin
7b107a69ef
Fix sender retrieval of Story() object 2024-03-06 18:50:17 +01:00
wulan17
517f2256b6
Pyrofork: Bump version to 2.3.19.post2
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-03-02 21:49:02 +07:00
wulan17
0fcce527bc
Pyrofork: Add ChannelPrivate exception handler to Message parser
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-03-02 21:48:34 +07:00
Marvin
8d9f6132f5
fix AttributeError: 'PeerUser' object has no attribute 'channel_id' 2024-03-01 23:36:19 +01:00
wulan17
01f5a9d1ca
Pyrofork: Bump version to 2.3.19.post1
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-03-01 18:47:49 +07:00
484b58b258
Merge pull request #49 from X1A0CA1/main
fix: Fix AttributeError when calling get_send_as_chats()
2024-03-01 16:27:05 +07:00
XiaoCai
18289f96b5
fix: Fix AttributeError when calling get_send_as_chats() 2024-03-01 16:11:24 +08:00
Marvin
a6a5f179cc
Fix execute() missing "await" 2024-02-29 22:30:42 +01:00
wulan17
dee698fc45
Pyrofork: Bump version to 2.3.19
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-29 21:43:26 +07: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
KurimuzonAkuma
ec19f4f6bb
Add support for ApplyBoost service messages
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-29 21:42:24 +07:00
KurimuzonAkuma
26654b1945
Add raw attribute to Message class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-29 21:42:24 +07:00
KurimuzonAkuma
1e7c906342
Add raw attribute to Story class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-29 21:42:24 +07:00
wulan17
cb23b6d17b
Pyrofork: Update stories with Layer 174 changes 2024-02-29 21:42:23 +07:00
Hitalo M
8193d87e2c
feat(storage): migrated to aiosqlite
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-29 21:42:23 +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
wulan17
134559ea18
Pyrofork: Bump version to 2.3.18
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-07 20:39:05 +07:00
wulan17
f25c239c7d
Pyrofork: Add is_contacts_only field to User
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-07 20:35:44 +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
a88ae52938
Pyrofork: Bump version to 2.3.17.post2
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-30 18:51:26 +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
wulan17
bf94b9e21e
Pyrofork: Bump version to 2.3.17.post
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-24 14:54:26 +07:00
wulan17
f53eb2b386
Pyrofork: fix MessageReactionCountUpdated
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-24 14:54:05 +07:00
wulan17
9299f02bb9
Pyrofork: Bump version to 2.3.17
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-22 23:26:40 +07:00
Yasir Aris M
3a41a720fd
Pyrofork: Add is_slowmode_enabled in Chat (#43)
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-22 23:26:09 +07:00
Yasir Aris M
48f313b412
Pyrofork: Add slow_mode_delay in get_chat (#43)
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-22 23:26:09 +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
AmarnathCJD
b1358c334d
DeSerializing Bug Fixes
Git-Origin-Commit-Id: c4c275ab
Git-Origin-Commit-Id: dd3f2e51
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-22 23:26:08 +07:00
KNF Apps
4b8fceecdc
fix(client): add FloodWait exception to media download
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-22 23:25:13 +07:00
wulan17
a7859ba790
Pyrofork: Bump version to 2.3.16.post5
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-15 22:26:26 +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
6e97b58566
Pyrofork: fix blockquote parser
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-15 22:21:45 +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
e327d2ecb9
Pyrofork: Add scheduled and from_scheduled parameters to Message documentation
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-15 22:21:45 +07:00
wulan17
b289cd5842
Pyrofork: Bump version to 2.3.16.post4
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-14 15:21:22 +07:00
wulan17
f17c0a3354
Pyrofork: parser: markdown: blockquote: Don't strip the message text
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-14 15:20:57 +07:00
wulan17
6ee289d787
Pyrofork: Bump version to 2.3.16.post3
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-12 00:27:09 +07:00
wulan17
4fc27cbae1
Pyrofork: Add blockquote markdown unparser
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-12 00:26:45 +07:00
Yasir Aris M
c13f3b766e
Pyrofork: Add blockquote markdown parser
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-12 00:26:44 +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
wulan17
41e13454e7
Pyrofork: remove animation from send_story ValueError
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-12 00:26:44 +07:00
wulan17
1e93808ed0
Pyrofork: Bump version to 2.3.16.post2
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:52:17 +07:00
wulan17
c3a67b7665
Pyrofork: fix Message.copy text when web_page_preview is not None
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:50:17 +07:00
wulan17
f1b4d1ca49
Pyrofork: Refactor send_story method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:50:17 +07:00
wulan17
48c7a5e2f9
Pyrofork: Add support for t.me/<username> link in resolve_peer method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:50:17 +07:00
wulan17
e9f3677908
Pyrofork: Add support for username in reply_in_chat_id and stories chat_id
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:50:16 +07:00
wulan17
038462a232
Pyrofork: Add is_safe field to WebPagePreview
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:50:16 +07:00
KurimuzonAkuma
437a141f88
Add missing attributes to the Chat type
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:50:16 +07:00
wulan17
5ea55040f8
Pyrofork: types: {chat,user}: Use first fragments username as normal username if normal username is None
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:50:16 +07:00
wulan17
348d6173cd
Pyrofork: Bump version to 2.3.16.post1
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-02 02:19:15 +07:00
wulan17
621a07bb8c
Pyrofork: Add invert_media parameter to send_message and Message.reply_text
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-02 02:18:34 +07:00
wulan17
a5e3e6802a
Pyrofork: Fix MessageReplyStoryHeader parser
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-02 02:18:34 +07:00
wulan17
270fa320ac
Pyrofork: Bump version to 2.3.16
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:35 +07:00
wulan17
1340d4f729
Pyrofork: Update send_reaction usable-by
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:35 +07:00
wulan17
3fee62dd1d
Pyrofork: Add can_{post,edit,delete}_stories parameter to ChatPrivileges and promote_chat_member 2023-12-31 17:43:34 +07:00
wulan17
b8ccff40e2
Pyrofork: Add is_antispam field to Chat
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
wulan17
0117429dc9
Pyrofork: Add is_join_to_send field to Chat
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
wulan17
db9fef481f
Pyrofork: Add is_join_request field to Chat
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
wulan17
b524fb6049
Pyrofork: fix {chat,user}_shared
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
wulan17
29ae15e660
Pyrofork: Add Story support for download_media method and Add Story.download bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
wulan17
943a4d86a1
Pyrofork: Add quote_text and quote_entities field to Message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
wulan17
c8b2a3adca
Pyrofork: Add quote_entities parameter to send_{*} methods and Message.reply_{*} bound methods
also add missing parameters to InputReplyToMessage docs

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
wulan17
cd0473c6af
Pyrofork: Move reply_to to pyrogram.utils
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
Mehedi Hasan Shojib
8a910de8eb
Pyrofork: Typo fix 2023-12-29 17:09:32 +06:00
wulan17
d2059ce948
Pyrofork: Bump version to 2.3.15.post5
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-28 20:16:38 +07:00
wulan17
ad501858ce
Pyrofork: Add GiveawayLaunched MessageService type
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-28 20:16:15 +07:00
wulan17
16390c3eff
Pyrofork: Add GiveawayResult MessageService type
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-28 20:16:15 +07:00
wulan17
992835b5a8
Pyrofork: Bump version to 2.3.15.post4
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-26 15:07:51 +07:00
wulan17
fb985d4d30
Pyrofork: Add GiveawayResult and refactor Giveaway
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-26 15:06:08 +07:00
wulan17
c0779b52ff
Pyrofork: Add description and thumb to InlineQueryResultAudio #40
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-26 15:05:56 +07:00
wulan17
44415e7013
Pyrofork: fix docs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 19:15:37 +07:00
wulan17
bcc88f5b4c
Pyrofork: Bump version to 2.3.15.post3
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 19:07:10 +07:00
wulan17
0b5cc55768
Pyrofork: fix send_story method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 19:05:46 +07:00
wulan17
454f155845
Pyrofork: Refactor Story.sender_chat
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 19:05:46 +07:00
wulan17
bb9abd880e
Pyrofork: fix typo in Story
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 19:05:46 +07:00
wulan17
0c93081af9
Pyrofork: Bump version to 2.3.15.post2
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 18:46:08 +07:00
wulan17
4c0b3e4090
Pyrofork: Refactor Story
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 18:45:49 +07:00
wulan17
2bd393fe0d
Pyrofork: Bump version to 2.3.15.post1
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 17:09:15 +07:00
wulan17
b85382706d
Pyrofork: Add media_areas parameter to {send,edit}_story methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 17:08:54 +07:00