SuperCz1
d93b9275f3
Bugfixes in chat.py ( #411 )
...
- Fixed this bug: https://t.me/pyrogramchat/169553 (which was caused because pyrogram trying to parse linked_chat even if it was None).
- Fixed another related bug (which was caused because pyrogram trying to get linked_chat_id even with basic groups causing an AttributeError).
2020-05-23 14:52:14 +02:00
Dan
27d5caf40e
Give Filters.regex superpowers
...
Basically make it work on Message, CallbackQuery and InlineQuery updates
2020-05-16 00:35:05 +02:00
Dan
0556efa26b
Add support for joining linked chats with the .join() bound method
2020-05-07 15:46:31 +02:00
Dan
12ce0a33c1
Add linked chats to Chat objects
2020-05-07 14:57:28 +02:00
Dan
20de3fccdf
Fix Match objects not being properly printed in Python 3.6
2020-05-02 15:01:15 +02:00
MIRROR
22c29791c8
Fix the type hint of Message's web_page ( #392 )
2020-04-26 12:59:58 +02:00
Dan
8c2dd9d1c3
Fix ttl_seconds and thumbs not being optional
2020-04-26 12:21:10 +02:00
Dan
5b042a6546
Add support for darts mini-game with send_dice
2020-04-24 15:51:40 +02:00
Dan
e42d6acc08
Add support for scheduled forward messages
2020-04-23 12:54:52 +02:00
Dan
72e150ca13
Add ttl_seconds field to Video objects
2020-04-20 22:40:39 +02:00
Dan
91ebe5f2a8
Fix object decoder breaking on re.Match objects
2020-04-08 23:29:32 +02:00
Real Phoenix
207d451a01
Add more Chat bound methods ( #383 )
...
* Add more bound methods
Bound methods for get_chat_member, get_chat_members, iter_chat_members, add_chat_members
* Update compiler.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2020-04-06 14:51:40 +02:00
Dan
850b79315f
Fix ttl_seconds not being parsed correctly
2020-04-04 23:47:09 +02:00
Dan
fa157b59f1
Add support for ChosenInlineResult objects
2020-04-03 17:15:28 +02:00
Dan
a54cd2e4fc
Add ttl_seconds to Photo objects
2020-04-02 13:55:47 +02:00
Dan
b9c50b0ae0
Add extended chat permissions
2020-03-30 15:24:07 +02:00
Dan
746a6eb477
Add support for Dice objects
...
- add send_dice
- add Dice class
2020-03-30 14:38:57 +02:00
Dan
1996fb1481
Update Copyright
2020-03-21 15:43:32 +01:00
trenoduro
fde76f0e11
Fix 'Client' object has no attribute 'export_invite_link ( #365 )
2020-02-04 17:01:44 +01:00
Dan
af2035951a
Update Poll object for Polls 2.0
2020-02-01 15:39:28 +01:00
Eric Solinas
42f09cd361
Add missing file_ref argument to bound methods ( #347 )
2020-02-01 14:13:07 +01:00
Dan
42c9bafa0c
Update copyright notice
2020-02-01 14:04:33 +01:00
Dan
0f84f91939
Fix bound method Chat.restrict_member. Closes #351
2019-12-30 11:11:02 +01:00
Dan
0e9c7af2e5
Small fixes on webpage.py
2019-12-30 10:54:49 +01:00
Dan
1609efbfbc
Add .bind() method to re-enable bound-methods after deserialization
2019-10-27 09:53:40 +01:00
Dan
e74521b1cc
Fix deserialization of pretty-printable lists
2019-10-24 15:09:20 +02:00
Dan
87512e20c3
Tiny copy-paste fix
2019-10-19 16:36:45 +02:00
Dan
85e08f774d
Merge branch 'develop' of https://github.com/pyrogram/pyrogram into develop
2019-10-19 16:35:54 +02:00
Тоша
cedb87ef41
Add is_creator field to Chat object ( #306 )
...
* Add is_creator field to Chat object
* Update chat.py
2019-10-19 16:35:26 +02:00
Dan
51cd186559
Fix group, channel and supergroup ChatPhoto downloads
...
Closes #326
2019-10-19 16:24:23 +02:00
Dan
91d3508c13
Rename encode/decode to encode/decode_file_id
2019-09-21 22:17:42 +02:00
Dan
92c1b48132
Fix FILE_REFERENCE_* errors for uploads
2019-09-21 22:13:02 +02:00
Dan
1cd94520bf
Fix FILE_REFERENCE_* errors for downloads
2019-09-21 21:12:11 +02:00
Dan
26bf84e43d
Don't try to parse ChatPhoto objects in case peer_access_hash is None
2019-09-14 20:58:53 +02:00
Dan
840a9d1cc7
Update ChatPhoto parser
2019-09-14 19:30:07 +02:00
Dan
25f2151151
Fix Restriction class not being exported
2019-09-08 11:58:58 +02:00
Dan
5b27b952c4
Add .title attribute for ChatMember objects (admins and owners only)
2019-09-07 17:08:00 +02:00
Dan
047fe37860
Add support for scheduled messages
2019-09-07 15:56:46 +02:00
Dan
c3dde77274
Fix ChatPhoto failing to parse in case the user is not known yet
2019-09-07 15:55:58 +02:00
Dan
5ce62bd79c
Add new Restriction object and make User and Chat objects use it
2019-09-07 13:28:05 +02:00
Dan
3f4441d0f5
Merge branch 'develop' of https://github.com/pyrogram/pyrogram into develop
2019-09-07 12:48:15 +02:00
Dan
fb771441ed
Merge branch 'layer-104' into develop
2019-09-07 12:47:25 +02:00
Dan
310810c320
Fix Message.click default parameters
2019-08-28 13:55:11 +02:00
Dan
77e4128d54
Merge branch 'new-file-id-format' into develop
2019-08-21 09:36:02 +02:00
ColinShark
b74a8eba5e
Add bound method for get_common_chats ( #305 )
2019-08-20 10:12:55 +02:00
Dan
95051d7fb1
Add get_nearby_chats method
2019-08-17 22:23:34 +02:00
Dan
74ecd2bb33
Add missing members_count attribute when parsing chats
2019-08-17 22:22:28 +02:00
Dan
7daf51af9b
Split start() into reusable methods
...
This allows custom authorization processes to be implemented much more
easily. Refactors #281
2019-08-13 13:15:58 +02:00
ColinShark
c9b1e09348
Add export_invite_link bound method ( #300 )
2019-08-10 00:54:22 +02:00
Dan
82e0087def
Always cast inline query ids to string
2019-08-06 01:02:41 +02:00