Dan
03927404bc
Merge branch 'develop' into asyncio-dev
2019-09-14 20:59:10 +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
826885a821
Merge develop -> asyncio
2019-09-14 20:42:06 +02:00
Dan
840a9d1cc7
Update ChatPhoto parser
2019-09-14 19:30:07 +02:00
Dan
8f0b8babc2
Merge develop -> asyncio
2019-09-08 13:26:10 +02:00
Dan
25f2151151
Fix Restriction class not being exported
2019-09-08 11:58:58 +02:00
Dan
c163f16d7b
Merge develop -> asyncio
2019-09-07 17:10:28 +02:00
Dan
5b27b952c4
Add .title attribute for ChatMember objects (admins and owners only)
2019-09-07 17:08:00 +02:00
Dan
96334e0dba
Merge develop -> asyncio
2019-09-07 16:01:31 +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
5f944056cc
Merge remote-tracking branch 'origin/asyncio-dev' into asyncio-dev
2019-09-07 13:43:31 +02:00
Dan
ce72a7edd9
Merge develop -> asyncio
2019-09-07 13:40:26 +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
fe6c5e542d
Add missing async and await keywords
2019-08-23 12:25:09 +02:00
Dan
2031df15fe
Update inline_query_result_photo.py
2019-08-23 11:52:12 +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
a829f74a16
Merge develop -> asyncio
2019-08-17 22:25:26 +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
Dan
7f9d3ee3e2
Merge develop -> asyncio
2019-08-10 00:59:01 +02:00
ColinShark
c9b1e09348
Add export_invite_link bound method ( #300 )
2019-08-10 00:54:22 +02:00
Dan
e96a74f728
Merge branch 'develop' into asyncio-dev
2019-08-06 01:02:55 +02:00
Dan
82e0087def
Always cast inline query ids to string
2019-08-06 01:02:41 +02:00
Dan
8612eafb4a
Merge develop -> asyncio
2019-08-03 20:23:41 +02:00
Dan
3dc2a81d72
Add Chat.description for basic chats
2019-08-03 19:54:14 +02:00
Dan
8a99f996ab
Handle cases where denied_permissions might be None
2019-08-03 19:50:12 +02:00
Dan
360cfaa9aa
[Bot API 4.4] Update chat photos
...
- Update ChatPhoto fields descriptions
2019-08-03 19:30:58 +02:00
Dan
c6f346f83d
[Bot API 4.4] Update chat permissions
...
- Move can_* permissions back to ChatMember objects
- Rename restrict_chat to set_chat_permissions
- Update restrict_chat_member to accept a single ChatPermissions arg.
- Update ChatPermissions to be the same as the one on the Bot API
2019-08-03 19:30:32 +02:00
Dan
091552e5d9
[Bot API 4.4] Update stickers
...
- Add is_animated field to Sticker
- Remove send_animated_sticker (use send_sticker instead)
- Default to 512x512 in case size is unknown (instead of 0x0)
2019-08-03 18:38:58 +02:00
Dan
7badcd38b4
Merge develop -> asyncio
2019-08-03 10:48:35 +02:00
Dan
ad9f610a6a
Update ChatPhoto file_id format
2019-08-02 02:30:19 +02:00
Dan
0de4874003
Update Thumbnail (ex PhotoSize) file_id format
2019-08-02 02:27:29 +02:00
Dan
ec00c332c2
Update Photo file_id format
2019-08-02 02:26:42 +02:00
Dan
67112a34e9
Remove __slots__ from Pyrogram types
2019-08-02 00:33:48 +02:00
Dan
aa135ea457
Reformat project
2019-08-01 19:11:43 +02:00
Dan
ad0f8284f6
Use the correct way to parse peer identifiers
2019-08-01 19:07:08 +02:00
Dan
47e5b9a7cb
Set Message.text instead of Message.caption in case of web_page previews
2019-08-01 00:53:17 +02:00
Dan
8700e3a0f3
Fix some methods not being defined using async
2019-07-31 13:33:04 +02:00
Dan
0f9029202e
Merge develop -> asyncio
2019-07-30 00:06:06 +02:00
Dan
d875298937
Fix forward copies having "None" as caption in case of no caption at all
2019-07-29 12:16:00 +02:00
Dan
bed13de413
Fix ChatPreview objects failing to parse
...
This happened because Telegram changed the preview photo type from
ChatPhoto to Photo. The reason behind this change was due to ChatPhoto
requiring now a peer id to be downloaded, which is not available in case
of chat previews.
2019-07-28 09:47:11 +02:00
Dan
7b9a38a2ba
Fix indentation and docstrings due to bad PR
2019-07-28 08:16:41 +02:00
Dan
881f5ab783
Merge branch 'develop' of https://github.com/pyrogram/pyrogram into develop
2019-07-28 08:06:34 +02:00
Dan
fe2ccc6036
Clean up Message docstrings
2019-07-25 11:18:11 +02:00