Commit graph

272 commits

Author SHA1 Message Date
wulan17
5c49a62fd3
Pyrofork: fix docs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-17 23:15:49 +07:00
wulan17
3bdbde086d
Pyrofork: Add story bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-17 22:26:42 +07:00
wulan17
51821fb71e
Pyrofork: Add export_story_link method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-17 22:21:02 +07:00
wulan17
acd70f7f2e
Pyrofork: Add StoriesPrivacy
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-17 22:18:46 +07:00
wulan17
37194e83a9
Pyrofork: Add Story and StoryViews
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-17 22:15:48 +07:00
wulan17
6ba49eea29
Pyrofork: Add InputReplyToStory
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-17 22:13:44 +07:00
wulan17
fe39c6e879
Pyrofork: fix derp
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-17 22:12:15 +07:00
wulan17
55dc2401fc
pyrofork: Add spoiler support for copy_message and send_cached_media methods #18
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-08 22:36:34 +07:00
wulan17
05ee0b0ec6
pyrofork: Append message_thread_id to reply bound methods if the message is a topic message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-08 22:36:34 +07:00
wulan17
92c7b0c883
pyrofork: Add InputReplyToMessage
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-08 22:36:33 +07:00
wulan17
b06422078e
Pyrofork: Add channel_shared and user_shared service message types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 15:00:12 +07:00
wulan17
d3ef8fb24a
Pyrofork: Add request_channel parameters to KeyboardButton class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 15:00:07 +07:00
wulan17
9299b9bd7d
Pyrofork: Add request_chat and request_user parameters to KeyboardButton class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 15:00:03 +07:00
wulan17
bded447cb6
Pyrofork: Add is_participants_hidden field to Chat
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 02:00:52 +07:00
wulan17
e4fda9d266
Pyrofork: Update copyright headers
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:45 +07:00
wulan17
8b89bf7432
Pyrofork: Add get_bot_info and set_bot_info method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:45 +07:00
wulan17
a175b33d27
PyroFork: Add protect_content and drop_author parameters to forward bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-21 20:17:07 +07:00
MrMissx
2378fb7800
Fix AttributeError when received ChatForbidden
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 01:28:39 +07:00
reaitten
344256d92b
InputMessageContent.write is a coroutine
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 01:28:39 +07:00
Deshdeepak
08248222bb
Add file_name where missing and pass thumb as Union
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 01:28:39 +07:00
Devesh Pal
9bb83e9319
Add bound method stop() to the Poll object
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 01:28:38 +07:00
Alisson Lauffer
5d5e4b4845
Make some methods static
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 01:28:38 +07:00
wulan17
1cfad73e95
PyroFork: Add usernames field to User
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 01:28:38 +07:00
Shohih Abdul
1d4948309f
Fix NameError on line 240 2023-04-12 14:03:22 +07:00
wulan17
caf80f239b
PyroFork: Fix derps
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 23:11:14 +07:00
wulan17
9966bd92a5
PyroFork: Add GetStickerSet methods and StickerSet types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:28:56 +07:00
wulan17
2cd117f301
PyroFork: Add usernames field to Chat
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:28:56 +07:00
Alisson Lauffer
4401c62244
Add full_name property to User and Chat objects
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:28:56 +07:00
Jins Mathew
cb7ba4f821
Add missing has_spoiler parameter to reply_{animation,photo,video}
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 00:58:52 +07:00
wulan17
034a4d6041
PyroFork: More cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-17 20:45:50 +07:00
wulan17
42a2f04d8e
Revert "PyroFork: Add listen and ask"
This reverts commit e39fdcca0e.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-17 20:43:44 +07:00
Cezar Pauxis
e39fdcca0e
PyroFork: Add listen and ask
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-05 01:58:09 +07:00
wulan17
00fb071215
PyroFork: docs: Add missing ChatJoinedByRequest, PeerUser and PeerChannel
and some cleanup

Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-04 11:02:48 +07:00
Dan
482798c2fc
Set has_media_spoiler only in case of Photo, Video or Animation media 2023-01-01 23:12:45 +07:00
Dan
94c589ed43
Add the field is_persistent to the class ReplyKeyboardMarkup 2023-01-01 23:12:44 +07:00
Dan
77cfaa0ff4
Add the field has_spoiler to relevant InputMedia* classes
- InputMediaPhoto
- InputMediaVideo
- InputMediaAnimation
2023-01-01 23:12:44 +07:00
Dan
b865512c68
Add the field has_media_spoiler to the class Message 2023-01-01 23:11:15 +07:00
wulan17
8428de1722
Pyrogram: add GeneralTopicHidden and GeneralTopicUnhidden service messages types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-01 22:48:39 +07:00
wulan17
d89b083bf0
Pyrogram: Add message_thread_id parameter to send_inline_bot_result()
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-17 15:39:11 +07:00
wulan17
ede9af3e00
Pyrogram: types: Message: Add error handling and is_topic_message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-17 15:30:58 +07:00
wulan17
e0b7576418
Pyrogram: Add chat_joined_by_request
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-14 13:36:52 +07:00
wulan17
86883a3b91
Pyrogram: Cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-14 13:34:43 +07:00
wulan17
b76bf48862
Pyrogram: Add {CREATED,EDITED,DELETED}_FORUM_TOPIC ChatEvent
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 23:41:40 +07:00
wulan17
a1aa281614
Pyrogram: Add ForumTopic and some cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:24:31 +07:00
wulan17
00520678f6
Pyrogram: Add message_thread_id parameter to send_game() method and copy() bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:12:06 +07:00
wulan17
f22cc34c9a
Pyrogram: Add message_thread_id parameter to forward_message() method and forward() bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:12:05 +07:00
wulan17
eeb1338c48
Pyrogram: Add can_manage_topics fields to ChatPrivileges and ChatPermissions class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:07:35 +07:00
wulan17
115b9877b6
Pyrogram: Add ForumTopicCreated, ForumTopicClosed, ForumTopicReopened, ForumTopicEdited service message types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:07:35 +07:00
wulan17
6f8aaa449c
Pyrogram: Add message_thread_id and is_topic_message fields to Message class, and is_forum fields to Chat class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:07:27 +07:00
Dan
3cf1ac7d92 Update the order in which media messages are parsed 2022-12-06 18:09:42 +01:00