Commit Graph

3998 Commits

Author SHA1 Message Date
Dan
87ae79e0e2 Remove special cases for older Python versions 2022-12-25 10:29:00 +01:00
Dan
dbf2e471b5 Fix usages of removed attributes 2022-12-25 10:26:30 +01:00
Dan
b3825c209e Update Pyrogram to v2.0.77 2022-12-24 17:53:49 +01:00
Dan
c7d362990f Add back a reference to the loop 2022-12-24 17:53:24 +01:00
Dan
13e8c41991 Update Pyrogram to v2.0.76 2022-12-24 17:32:02 +01:00
Dan
f12005b5d0 Use Python's standard sockets in case of no proxy 2022-12-24 17:30:23 +01:00
Dan
deb560a051 Remove unused variables 2022-12-24 17:27:06 +01:00
Dan
91160bf834 Update Pyrogram to v2.0.75 2022-12-24 17:15:23 +01:00
Dan
1cb17152f8 Keep a timeout while connecting and set non-blocking afterwards
Also fix an await to None value
2022-12-24 17:15:10 +01:00
Dan
f30510ab7d Update Pyrogram to v2.0.74 2022-12-24 16:15:37 +01:00
Dan
84d60b56b3 Switch to non-blocking sockets & use a send queue 2022-12-24 16:15:07 +01:00
Dan
f350691c69 Update Pyrogram to v2.0.73 2022-12-23 20:41:31 +01:00
KyMaP13
265f5fc72e
Add VOICE_MESSAGES_FORBIDDEN (#1151)
* add VOICE_MESSAGES_FORBIDDEN

* Update 400_BAD_REQUEST.tsv

Co-authored-by: onefedov <onefedov@yandex-team.ru>
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-12-23 20:40:31 +01:00
omg-xtao
c4a47b99ae
Add support for Fragment SMS codes (#1170) 2022-12-23 20:36:00 +01:00
Dan
8afd4597fa Update Pyrogram to v2.0.72 2022-12-23 20:20:44 +01:00
Dan
81573bce76 Remove threading.Lock usages 2022-12-23 20:20:27 +01:00
Dan
ccb58f503c Update Pyrogram to v2.0.71 2022-12-23 15:41:34 +01:00
Dan
a9e7d15bf6 Add a watchdog for incoming updates 2022-12-23 15:40:56 +01:00
Dan
aeea07f83d Update Pyrogram to v2.0.70 2022-12-12 21:54:07 +01:00
Anton Kovalevich
a76269ddaf
Handle all given updates, avoid short circuit (#1162) 2022-12-12 21:53:09 +01:00
Dan
73554b9d38 Update Pyrogram to v2.0.69 2022-12-06 21:34:09 +01:00
Dan
217bcb1dfb Fix HTML unparsing when there's no entities 2022-12-06 21:33:46 +01:00
Dan
86515bb9d1 Update Pyrogram to v2.0.68 2022-12-06 20:12:46 +01:00
Dan
7090dcba68 Add more tests for HTML.unparse 2022-12-06 20:12:27 +01:00
Andrea Princic
669b39927b
Escape text inside entity when building unparsed text (#1156) 2022-12-06 20:09:31 +01:00
Dan
fd2819ca7f Update Pyrogram to v2.0.67 2022-12-06 19:11:47 +01:00
Dan
db6bc2df19 Add tests for HTML.unparse 2022-12-06 19:11:23 +01:00
Dan
38e9745a80 Update Pyrogram to v2.0.66 2022-12-06 18:50:43 +01:00
Andrea Princic
2ed000381d
Update the HTML logic to output well-formed elements (#1155)
* unparsing html entities with deque

* unparsing using a stack (recursive)
2022-12-06 18:29:27 +01:00
Dan
ad773455a7 Update Pyrogram to v2.0.65 2022-12-06 18:10:36 +01:00
Dan
3cf1ac7d92 Update the order in which media messages are parsed 2022-12-06 18:09:42 +01:00
Dan
d734fbb180 Fix User.emoji_status type hint 2022-12-06 18:08:38 +01:00
Dan
fb85a14277 Update Pyrogram to v2.0.64 2022-12-06 14:15:46 +01:00
Dan
1d7852a44b Update API schema to Layer 150 2022-12-06 13:59:06 +01:00
Dan
70b6738908 Update Pyrogram to v2.0.63 2022-11-25 22:11:57 +01:00
Dan
b81c379548 Update API schema to Layer 149 2022-11-25 22:11:35 +01:00
Dan
9b6cb070b9 Update Pyrogram to v2.0.62 2022-11-18 12:14:49 +01:00
Dan
2aae10193e Add tag command to Makefile 2022-11-18 12:14:31 +01:00
Dan
e3e9731973 Update Pyrogram to v2.0.61 2022-11-15 11:15:05 +01:00
Dan
1699ef0d4c Disable parse mode when copying messages
The entities are already taken from the original message
2022-11-15 11:13:53 +01:00
Dan
23d953237e Update Pyrogram to v2.0.60 2022-11-13 14:29:06 +01:00
Deekshith SH
0e64ebc0be
Fix typo (#1029) 2022-11-13 14:28:18 +01:00
ALi.w
31b32184c9
Use getattr to get outgoing attribute in filters.me (#1137)
* Use getattr to get outgoing attribute from the message in me_filter.
Fixes #1136.

Signed-off-by: Aliwoto <woto@kaizoku.cyou>

* Update filters.py

Signed-off-by: Aliwoto <woto@kaizoku.cyou>
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-11-13 14:27:19 +01:00
Artem Kvrvgv
b848e05225
Fix copy_message return type hint (#1128)
* fixed copy_message method type-hint

* Update copy_message.py

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-11-13 14:25:19 +01:00
Albert Einstein
1b02a6a148
Add __all__ for better enums suggestions (#1126) 2022-11-13 14:23:30 +01:00
Ihor Boichuk
c98963973e
Add Message.forwards field (#1103)
* Added missing field: forwards

* Update message.py

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-11-13 14:22:12 +01:00
Sam
b423730dcb
Fix on_disconnect decorator not working (#1134)
* Fix on_disconnect decorator not working

* Remove useless if else statment in on_raw_update
2022-11-13 14:18:42 +01:00
Dan
035bbbb76e Update python.yml 2022-11-13 14:13:22 +01:00
Nick
a374e0175d
Update API schema to Layer 148 2022-11-13 13:55:44 +01:00
Dan
ef92389ed0 Update Pyrogram to v2.0.59 2022-10-16 12:07:57 +02:00