Commit graph

355 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
1f9d17fd19
Merge pull request #54 from X1A0CA1/main
Update API Layer and fix a bug
2024-03-23 18:40:47 +07:00
XiaoCai
4c9a4f972e
feat(sticker): Adding "needs_repainting" attribute to sticker class 2024-03-19 13:28:52 +08:00
Marvin
7b107a69ef
Fix sender retrieval of Story() object 2024-03-06 18:50:17 +01: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
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
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
f53eb2b386
Pyrofork: fix MessageReactionCountUpdated
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-24 14:54:05 +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
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
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
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
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
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