Commit graph

4248 commits

Author SHA1 Message Date
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
Dan
245b7e653d Tweak Session timeouts 2023-01-12 18:25:42 +01:00
Dan
283246a6b8 Change connection mode 2023-01-12 18:25:10 +01:00
Dan
82b8c7792e Allow to specify a limit to concurrent transmissions 2023-01-12 18:19:15 +01:00
Dan
2a7110e257 Update Pyrogram to v2.0.96 2023-01-09 15:22:36 +01:00
Dan
a58e19827a Sort the lists of known errors 2023-01-09 15:22:10 +01:00
Dan
d53e1c235b Lower the logging level of some log calls 2023-01-09 15:19:55 +01:00
Mahesh
043734f02b
Add BUTTON_USER_PRIVACY_RESTRICTED to the list of known errors (#1193)
* Add BUTTON_USER_PRIVACY_RESTRICTED to known errors

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2023-01-09 15:02:20 +01:00
Dan
f9a9673011 Update Pyrogram to v2.0.95 2023-01-08 17:22:42 +01:00
Dan
24018532c8 Add INVITE_REQUEST_SENT to known errors 2023-01-08 17:22:15 +01:00
Nick
388c534e1f
Add BOT_ONESIDE_NOT_AVAIL to known errors (#1073)
* `BOT_ONESIDE_NOT_AVAIL`

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2023-01-08 17:20:36 +01:00
Dan
aa2f189225 Update Pyrogram to v2.0.94 2023-01-08 17:11:22 +01:00
Dan
8441ce2f47 Limit the amount of concurrent transmissions 2023-01-08 17:11:02 +01:00
Dan
b19764d5dc Update Pyrogram to v2.0.93 2022-12-31 19:02:20 +01:00