Dan
2031df15fe
Update inline_query_result_photo.py
2019-08-23 11:52:12 +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
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
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
Dan
0b66cf2cb9
Merge pull request #279 from kalmengr/patch-5
...
Add retract_vote bound method to Message
2019-07-22 14:22:02 +02:00
Dan
a320088fee
Fix Message.retract_vote style
2019-07-22 14:21:42 +02:00
Dan
810df3f476
Merge pull request #278 from kalmengr/patch-4
...
Add bound method vote to Message
2019-07-22 14:17:11 +02:00
Dan
948bba7a08
Add missing return type
2019-07-22 14:16:43 +02:00
Dan
f0c1cb00ca
Rework InlineQueryResultArticle. Also add *Photo and *Animation types
2019-07-21 23:18:38 +02:00
Dan
4274ef9639
Add abstract method InputMessageContent.write
2019-07-21 23:10:57 +02:00
Dan
c0e9b98cab
Add is_gallery parameter to answer_inline_query and InlineQuery.answer
2019-07-21 23:10:23 +02:00
Dan
6459ce0a07
Fix lots of bound methods breaking due to latest changes on parse_mode
...
Addresses #287
2019-07-21 01:03:19 +02:00
kalmengr
449f318e6d
Add retract_vote bound method to Message
2019-07-12 18:29:35 -04:00
kalmengr
ba47488142
Update message.py
2019-07-12 12:13:14 -04:00
kalmengr
2095f9fb5e
Add bound method vote to Message
2019-07-12 12:05:19 -04:00
Dan
fed8cbf87e
Add new set_parse_mode utility method
2019-07-11 19:28:33 +02:00
Dan
5599182fd1
Fix Chat.join
...
The bound method will only be able to make users join public chats that
have set a username.
2019-07-11 14:42:18 +02:00
Dan
3c4a8f0da4
Merge pull request #275 from kalmengr/patch-2
...
Add join and leave bound methods to Chat object
2019-07-11 14:29:54 +02:00
Dan
efe564064b
Update chat.py
2019-07-11 14:29:41 +02:00
Dan
d441f16879
Merge develop -> asyncio
2019-07-11 04:17:46 +02:00
Dan
2f07e7abc4
Rework user.status, add last_online_date and next_offline_date
2019-07-11 01:35:02 +02:00
Dan
997a3c1626
Remove UserStatus (user_status.py)
2019-07-11 00:12:27 +02:00
Dan
d119998212
Remove get_user_dc method, add dc_id attribute to User
2019-07-10 20:20:22 +02:00
Dan
e41d21ba29
Add "md" to possible parse modes for Markdown style
2019-07-10 20:03:10 +02:00
kalmengr
be8d1068c0
Add join and leave methods to Chat object
2019-07-10 10:39:07 -04:00
Dan
92d47f17f3
Add new blank lines for clarity and for fixing rst
2019-07-09 23:39:48 +02:00
kalmengr
856870c195
Add bound methods block and unblock to User object
2019-07-09 17:33:41 -04:00
Dan
2769f5219d
Merge develop -> asyncio
2019-07-04 21:02:33 +02:00