Sam
b472597fbc
Merge branch 'pyrogram:master' into mtpager
2022-02-02 17:41:08 +08: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
Sam
2eca3438be
Merge branch 'pyrogram:master' into mtpager
2022-01-31 14:22:43 +08: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
Sam
4544782b13
Merge branch 'pyrogram:master' into mtpager
2022-01-21 23:03:10 +08: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
Sam
000e16d1cc
Merge branch 'pyrogram:master' into mtpager
2022-01-20 22:53:05 +08: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
910c6cacb0
✨ Ability to run multiple handlers
...
🐛 Fix filter type hint
2022-01-20 01:04:13 +08:00
c1bd82ffdd
🐛 GzipPacked: Fix attr get
2022-01-20 00:03:05 +08:00
3812c5c584
⏭ Improve import speed
...
(This is the maximum speed Python can do)
2022-01-19 23:58:07 +08:00
e318562b16
⏭ Improve import speed
...
- By doing this can import required module on-the-fly
✨ Reformatted files
2022-01-19 23:22:43 +08:00
3c65090c4e
🐛 GzipPacked: Fix attr get
2022-01-19 23:20:26 +08:00
e413f5682b
🐛 Fix type hint
2022-01-19 22:53:18 +08:00
12a49e1d31
✨ Crypto-MTProto: Improved pack and unpack function
2022-01-19 22:31:08 +08:00
053ec738e7
✨ Connection: Improve logging text
2022-01-19 22:28:27 +08:00
0fa3115d32
🐛 Transport: Fix type hint
2022-01-19 22:27:53 +08:00
0dfed0b2fa
✨ Transport: Added Padded Intermediate and Obfuscated Padded Intermediate
2022-01-19 22:27:30 +08:00
2a7b83d668
🐛 TLObject: Fix read return None instead of raise KeyError
2022-01-19 22:21:30 +08:00
6c078c38d0
✨ Auth: Add type hint for send result
2022-01-19 22:20:54 +08:00
7178b4b1db
🐛 TCP: Fix exception message
2022-01-19 22:19:02 +08:00
cafc997df1
🐛 GetChatMembers: Fix unreached code problem
2022-01-19 22:19:02 +08:00
04b783281e
🆙 TL Schema: Update API schemes to layer 137
...
✨ Format compiler.py
2022-01-19 22:19:01 +08:00
Sam
86c81bfff9
Merge branch 'pyrogram:master' into mtpager
2022-01-12 00:28:27 +08:00
Dan
e67fd6efbb
Update Pyrogram to v.1.3.5
2022-01-11 17:25:01 +01:00
Dan
a6299f8401
Use a proper condition check when dealing with flag vectors
...
When reading flag vectors, non-existent vectors are being translated
to [] (empty list). When writing them, the flag condition was
strictly checking for None and an empty list [] would result in an
empty vector being serialized, which should not happen.
Related to #871 .
2022-01-11 17:24:17 +01:00
Sam
6d7f409a88
🐛 Remove extra ID added
2022-01-12 00:11:32 +08:00
Sam
4cdd72657e
Merge branch 'pyrogram:master' into mtpager
2022-01-12 00:10:47 +08:00
Dan
db9489b318
Update Pyrogram to v1.3.4
2022-01-11 16:59:08 +01:00
Dan
527ec23c20
Revert reading non-existent flag vectors from None to []
2022-01-11 16:59:08 +01:00
Sam
52262bcf18
🔰 Add CodeQL scanning
2022-01-11 23:49:53 +08:00
Sam
08ec6528e7
Merge branch 'pyrogram:master' into mtpager
2022-01-11 23:45:20 +08:00