wulan17
acb08eb990
PyroFork: Add custom storage support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:33 +07:00
wulan17
c2a506fca0
Pyrofork: add async helper
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:26 +07:00
Animesh Murmu
b43b20351f
Pyrofork: Add Mongodb Session Storage
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Use session name as database name, add some parameters informations and some cleanup (#3 )
Changes to be committed:
modified: pyrogram/client.py
modified: pyrogram/storage/mongo_storage.py
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: storage: mongo: Use existing database connection
support both async_pymongo and motor
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Use Dummy client object to check wether connection object is valid or not
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:37:39 +07:00
wulan17
d91cf7f120
PyroFork: Add Sticker methods and types
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add CreateStickerSet Methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add AddStickerToSet Methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:37 +07:00
wulan17
ea33dc43a4
Pyrofork: Add Forum Topic Support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add ForumTopicCreated, ForumTopicClosed, ForumTopicReopened, ForumTopicEdited service message types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add can_manage_topics fields to ChatPrivileges and ChatPermissions class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add manage_topics parameter to promote_chat_member, restrict_chat_member, and set_chat_permissions methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to send_{animation,audio,cached_media,contact,dice,document,location,media_group,message,photo,poll,sticker,venue,video,video_note,voice} methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrogram: Add message_thread_id parameter to forward_message() method and forward() bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to send_game() method and copy() bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrogram: Add ForumTopic and some cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add {create,close,reopen,edit,delete}_forum_topic methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to copy_message method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add {CREATED,EDITED,DELETED}_FORUM_TOPIC ChatEvent
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: utils: Check if messages has topics atribut
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrogram: types: Message: Add error handling and is_topic_message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to send_inline_bot_result()
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: add GeneralTopicHidden and GeneralTopicUnhidden service messages types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: add message_thread_id parameter to send_chat_action
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add CloseGeneralTopic, EditGeneralTopic, ReopenGeneralTopic, HideGeneralTopic. UnhideGeneralTopic, and some cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add get_forum_topic and get_forum_topic_by_id methods
Signed-off-by: wulan17 <galihgustip@gmail.com>
Pyrofork: Update some methods to layer 160
Signed-off-by: wulan17 <wulan17@nusantararom.org>
pyrofork: Add InputReplyToMessage
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: docs: Add missing PeerUser and PeerChannel
and some cleanup
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-08-18 03:30:36 +07:00
shriMADhav U k
b3cde83bf3
Pyrofork: add some more errors to known errors
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:33 +07:00
Nick
5f9bba1c08
Added some story error
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:32 +07:00
Albert Einstein
2213af62b4
Add USERNAME_PURCHASE_AVAILABLE to known errors
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:32 +07:00
Nick
eac886f0e6
Added some missing errors
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:31 +07:00
wulan17
88dee2156e
PyroFork: add TOPIC_CLOSED and TOPIC_DELETED to known errors
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:30 +07:00
Nick
bcddcd4036
Pyrofork: Update API scheme on layer 161
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:29 +07:00
Nick
75381b3ee8
Update API schema to Layer 160
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:28 +07:00
wulan17
9e82bd0b57
Pyrofork: Add alt_port parameter to Client
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:28 +07:00
mrmissx
5ba8cc48fc
fix: try to handle startup BadMsgNotification #11
...
Retry to generate a new msg_id to send before raising BadMsgNotification.
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:27 +07:00
kvrvgv
02733d90f2
PyroFork: add drop_author parameter to forward_messages method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:26 +07:00
MrMissx
02acefd6e2
Fix AttributeError when received ChatForbidden
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:25 +07:00
reaitten
86621ba836
InputMessageContent.write is a coroutine
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:24 +07:00
Deshdeepak
06c081d171
Add file_name where missing and pass thumb as Union
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:23 +07:00
Devesh Pal
165ade92d5
Add bound method stop() to the Poll object
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:22 +07:00
Alisson Lauffer
c0efd663fd
Make some methods static
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:21 +07:00
wulan17
9d9b8dcac8
PyroFork: Add usernames field to User
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:20 +07:00
wulan17
73c1c179d0
PyroFork: Add usernames field to Chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:16 +07:00
Alisson Lauffer
244ad93229
Add full_name property to User and Chat objects
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:28:59 +07:00
kkwilllo
dab2ab311b
add min & max id support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:28:58 +07:00
wulan17
367be6f6eb
Pyrofork: Add chat_joined_by_request
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:28:52 +07:00
snyk-bot
97d714f640
fix: docs/requirements.txt to reduce vulnerabilities
...
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-TORNADO-5537286
2023-08-18 01:44:03 +07:00
wulan17
8762c01669
PyroFork: docs: Add usable by
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 01:42:52 +07:00
wulan17
261214ec1c
PyroFork: Bring back docs
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 01:42:01 +07:00
wulan17
7a1684f074
PyroFork: rebrand
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 01:35:50 +07:00
Dan
efac17198b
Update Pyrogram to v2.0.106
2023-04-30 20:24:00 +02:00
Dan
2ff67c72aa
Move the CDN DC IPv6 to the correct mapping
2023-04-30 20:23:42 +02:00
Dan
d9d68529aa
Update Pyrogram to v2.0.105
2023-04-30 19:55:05 +02:00
Dan
e24d5b1cf5
Add RSA public keys & IP addresses for some CDN DCs
2023-04-30 19:54:39 +02:00
Dan
cea21ad6d0
Update Pyrogram to v2.0.104
2023-04-21 14:56:56 +02:00
Dan
bb678a4fb6
Update API schema to Layer 158
2023-04-21 14:56:12 +02:00
Dan
68c7bd6e12
Update Pyrogram to v2.0.103
2023-04-03 16:29:32 +02:00
Dan
8cff5594c0
Update API schema to Layer 155
2023-04-03 16:29:04 +02:00
Dan
abed55aea9
Update Pyrogram to v2.0.102
2023-03-12 17:52:37 +01:00
Dan
0a90d54010
Separate cases between Channel and ChannelForbidden
2023-03-12 17:52:03 +01:00
Dan
fb3f9acc18
Update Pyrogram to v2.0.101
2023-03-11 16:45:56 +01:00
Dan
a3a4a0204c
Update chat username parsing in case of multiple usernames
2023-03-11 16:45:32 +01:00
Dan
d6476ce57e
Update Pyrogram to v2.0.100
2023-02-26 11:09:21 +01:00
Dan
787eabd940
Update send_inline_bot_result return type hint
2023-02-26 11:08:27 +01:00
Dan
96ffc7efcd
Update Pyrogram to v2.0.99
2023-02-11 10:09:03 +01:00
Jins Mathew
2e82fcecff
Add missing has_spoiler parameter to reply_{animation,photo,video}
2023-02-11 10:08:29 +01:00
Dan
f040aefc9f
Update bug_report.yml
2023-02-11 10:03:09 +01:00
Dan
53cb3f29c7
Update Pyrogram to v2.0.98
2023-02-10 12:44:07 +01:00
Nick
5c5dce6620
Update API schema to Layer 152 ( #1207 )
2023-02-10 12:34:43 +01:00
Dan
22e2b7ff62
Update bug_report.yml
2023-02-10 12:30:08 +01:00
Dan
cfbc848dcf
Update Pyrogram to v2.0.97
2023-01-12 18:26:08 +01:00