Commit Graph

4100 Commits

Author SHA1 Message Date
Dan
d0e2235835 Improve the RLE codec 2022-03-11 12:29:05 +01:00
Nick
8d7b62654c
Update API schema to Layer 139 (#936) 2022-03-11 12:14:59 +01:00
Mr. Developer
5ee6f3d2c7
Add some missing parameters to Message.reply_text 2022-03-07 13:13:22 +01:00
Dan
748222131d Update Pyrogram to v1.4.8 2022-02-28 12:49:52 +01:00
scrazzz
4dc771b64a
Fix docstring for message.reply_photo (#903) 2022-02-26 11:13:52 +01:00
blank X
e0eccfa8fb
Respect file_name if file passed is a file object (#912)
Fixes #911
2022-02-26 11:13:08 +01:00
Dan
bf233e3b5b Update Filters.reply to check for Message.reply_to_message_id 2022-02-17 11:42:42 +01:00
Dan
bca7e6461e Add reply_to_message_id and reply_to_top_message_id to Message 2022-02-17 11:41:14 +01:00
Sam
54f8ca25fb
Add 400 CHANNEL_ADD_INVALID error (#894)
* Add RPC Error: CHANNEL_ADD_INVALID

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-02-13 11:37:43 +01:00
Gor
d9d7a867b5
Add 406 CHANNEL_PRIVATE error (#899) 2022-02-13 11:37:14 +01:00
Nik
325569d73f
Fix custom List __repr__ (#901) 2022-02-13 11:32:34 +01:00
Dan
7edfda7f41 Update Pyrogram to v1.4.7 2022-02-10 20:16:34 +01:00
Dan
9279b67319 Display a more meaningful error message 2022-02-10 20:15:48 +01:00
Dan
84b0e15e2b Revert "Make Connection.send() raise the actual exception"
This reverts commit ed2db45a03.
2022-02-10 20:14:09 +01:00
Dan
22f2b1dd99 Update Pyrogram to v1.4.6 2022-02-10 06:46:28 +01:00
Dan
ed2db45a03 Make Connection.send() raise the actual exception 2022-02-10 06:45:59 +01:00
Dan
dc6c816c80 Revert some of the last changes 2022-02-10 06:44:42 +01:00
Dan
0d11240740 Update Pyrogram to v.1.4.5 2022-02-10 05:34:40 +01:00
Dan
5889c67fb5 Initialize session on reconnection 2022-02-10 05:34:21 +01:00
Dan
f23422cb25 Update Pyrogram to v1.4.4 2022-02-10 04:25:54 +01:00
Dan
03629d5ee9 Always try to reconnect within Connection 2022-02-10 04:25:36 +01:00
Dan
2c1d3ee2a4 Update Pyrogram to v1.4.3 2022-02-10 02:23:36 +01:00
Stark Programmer
5d155b896c
Add missing await keyword (#898) 2022-02-10 02:22:43 +01:00
Dan
7fbb4d8997 Update Pyrogram to v1.4.2 2022-02-10 01:09:06 +01:00
Dan
921d87304f Do not consume async gens, turn them to gens instead 2022-02-10 01:08:11 +01:00
Dan
462e5d11a5 Improve stability in case of connection failures 2022-02-10 01:05:36 +01:00
Dan
89c49111b0 Update Pyrogram to v1.4.1 2022-02-03 15:27:15 +01:00
Andrea Princic
b3f849df76
Fix entities unparsing in other scenarios (#892) 2022-02-03 15:26:17 +01:00
Dan
855e69e3f8 Update Pyrogram to v1.4.0 2022-02-01 12:07:30 +01:00
Dan
05bfaa3d87 Add support for video stickers
Add Sticker.is_video attribute
2022-02-01 11:38:58 +01:00
Dan
b676297ca9 Update API schema to Layer 138 2022-02-01 11:36:46 +01:00
Dan
b9424c7455 Add ChatJoinRequest bound methods docs 2022-02-01 11:01:02 +01:00
Dan
aaaa97c77a Document ApiCallError RPC error 2022-01-31 21:28:51 +01:00
Dan
51cf103c15 Update emoji.py 2022-01-31 21:27:58 +01:00
Dan
afad3a7704 Switch from issue templates to issue forms 2022-01-31 21:26:30 +01:00
Dan
084db0cea3 Merge branch 'master' of https://github.com/pyrogram/pyrogram 2022-01-31 20:47:22 +01:00
Dan
a8cc77d903 Update Pyrogram to v1.3.7 2022-01-31 20:46:53 +01:00
Dan
3a911956b0 Update message for automatic sleeps 2022-01-31 20:45:04 +01:00
Dan
6f9e77bc2c Do not handle messages with a pending ack 2022-01-31 20:42:44 +01:00
Andrea Princic
c7888437e8
Fixed error while unparsing consecutive entities (#885) 2022-01-29 18:50:51 +01:00
Dan
333d22afca Update API schema to Layer 137 2022-01-29 14:45:35 +01:00
Roj
f1298dfdc6
Add video_start_ts parameter to set_chat_photo (#770)
* Add `video_start_ts` parameter to `set_chat_photo`

* Docstrings update

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-01-29 14:08:15 +01:00
Pietro De Nicolao
3e79d7dfce
Add py.typed file for enhanced type hinting (#838)
Fixes #781

* fix: add py.typed file

Comply with PEP 561 and enable type checkers.
Fixes #781.

* chore: add py.typed to package_data in setup.py

* Style fixes

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-01-29 13:39:25 +01:00
Dan
b1250e6575 Fix accessing non-existent attribute
Closes #865
2022-01-29 13:02:32 +01:00
Mahesh
149685f9d3
Add placeholder in ForceReply & ReplyKeyboardMarkup (#717)
* Added placeholder

* Fix docs
2022-01-29 11:54:00 +01:00
W4RR10R
244606eed6
Add approve() and decline() bound methods to ChatJoinRequest (#863)
* Bound method approve() and decline()

* Style fixes

Co-authored-by: ArUn Pt <46273006+CW4RR10R@users.noreply.github.com>
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-01-29 11:36:15 +01:00
Shrimadhav U K
4af9e30cfd
Fix caption being "None" when passing None (#879) 2022-01-29 11:13:09 +01:00
Alisson Lauffer
7d444381c7
Fix spoiler html unparsing (#862)
- The current spoiler implementaion unparses both strikethrough and spoiler tags with <s>, making them indistinguishable
2022-01-21 10:26:52 +01:00
Dan
23b02087c2 Update Pyrogram to v1.3.6 2022-01-20 09:44:21 +01:00
Dan
1162e89f26 Better handling of expiring server salts 2022-01-20 09:43:29 +01:00