Dan
4b3fc729ad
Fix small typo: Message.unpin was pinning
2021-01-12 22:26:24 +01:00
Pari030
c25871c452
Mention that members_count is obtained from get_chat only ( #581 )
2021-01-08 10:00:45 +01:00
Dan
51f771457c
Fix captions not being preserved when editing media
2021-01-08 09:02:29 +01:00
Dan
7dda167c09
Update copyright notice
...
Year 2021
2021-01-01 22:58:48 +01:00
Dan
c2c857b61b
Fix wrong usages of italic delimiters
2020-12-26 13:08:40 +01:00
Dan
449b065fe9
Fix get_profile_photos returning a list of None
2020-12-25 15:22:37 +01:00
Dan
d4c07304d0
Allow copying bots' messages reply markups
...
Even though this often requires a user account to fetch other bots' messages
2020-12-25 12:42:27 +01:00
Dan
19878ae633
Specify that dates are in unix time
2020-12-23 16:26:02 +01:00
Alisson Lauffer
1dc4df8cb1
Improve typing hints ( #537 )
...
* Change type1 or type2 to Union[type1, type2]
* Address @KunoiSayami suggestions
* Change Union[type1, None] to Optional[type1]
* Update PR with latest commit changes
* Address Dan suggestions
2020-12-20 17:05:17 +01:00
Dan
1835b62a40
Merge pull request #556 from drizzt/video-ttl_seconds
...
Add ttl_seconds support for send_video and reply_video
2020-12-11 18:34:49 +01:00
Dan
a30e49fe79
Ignore PhotoPathSize for now
2020-12-08 22:25:42 +01:00
Dan
d2023c39ae
Fix copied messages reporting "None" in case of empty captions
2020-12-07 17:22:10 +01:00
Dan
2f3bcd7ee5
Add Message.copy bound method
2020-12-05 01:54:07 +01:00
Dan
c606f836d4
Remove as_copy from forward_messages (superseded by copy_message)
2020-12-05 01:37:11 +01:00
Timothy Redaelli
babbe00e5e
Add ttl_seconds support for send_video and reply_video
2020-12-03 13:00:18 +01:00
Dan
c87177e7a6
Do not parse PhotoStrippedSize
2020-11-30 12:40:26 +01:00
Dan
384f4eba71
Add support for manual text entities.
2020-11-29 15:48:29 +01:00
Dan
a4566de2ef
Add support for the new Bot API fields: file_id, file_unique_id
...
Remove file_ref from Pyrogram's API
2020-11-27 22:09:17 +01:00
Dan
e4405db50d
Fix senders wrongly being in sender_chat instead of from_user
2020-11-10 18:54:52 +01:00
Dan
418ad164a0
Update Message.author_signature docs
2020-11-08 13:54:25 +01:00
Dan
e71bb87a2d
Add is_anonymous attribute to ChatMember
2020-11-08 13:49:44 +01:00
Dan
abffef5d94
Add support for anonymous messages
...
Add Message.sender_chat attribute
2020-11-08 13:43:49 +01:00
Dan
c7e4e55607
Add "bio" attribute in Chat objects
2020-11-08 13:01:23 +01:00
Dan
6027ee867f
Fix broken Chat parsing for user/bot chats
2020-11-06 10:56:48 +01:00
Dan
888e296813
Merge pull request #528 from pyrogram/fixes
...
Collection of fixes
2020-10-31 19:30:41 +01:00
Shrimadhav U K
a2b8658153
Add missing parameters in Message.reply_poll ( #507 )
2020-10-31 17:26:10 +01:00
Dan
1863900299
Fix of a small mess up
2020-10-31 17:15:47 +01:00
Shrimadhav U K
740bcd145a
Update creator ChatMember with admin permissions ( #523 )
2020-10-31 17:14:32 +01:00
GodSaveTheDoge
028e6ed04a
Make objects pickable by removing the _client attribute ( #526 )
2020-10-31 17:06:29 +01:00
Dan
832f1f6d53
Update pin/unpin_chat_message and Message.pin/unpin
2020-10-31 16:47:32 +01:00
Dan
4632879ee4
Changes for L119
2020-09-30 20:26:57 +02:00
Dan
8f2e4f03b7
Fix access to invalid attributes when parsing a chat dc_id
2020-08-30 13:18:10 +02:00
Dan
fcc78091c2
Show warnings when messages are not compatible with as_copy
2020-08-30 11:34:23 +02:00
Dan
cecf5a19a4
Add dc_id to Chat objects
2020-08-27 14:32:25 +02:00
Dan
bab9359df8
Use a better way to document properties
2020-08-26 09:07:54 +02:00
Dan
c5dd474f93
Document undocumented properties
2020-08-26 08:10:34 +02:00
Dan
15f504a91f
Fix captions being "None" for inline media results
2020-08-26 08:09:12 +02:00
Dan
b057dcb39d
Small fixes around docs
2020-08-24 15:24:06 +02:00
Dan
538f1e3972
Deep rewrite: preparing for v1.0
...
- Pyrogram core is now fully asynchronous
- Ditched Python 3.5, welcome 3.6 as minimum version.
- Moved all types to pyrogram.types
- Turned the Filters class into a module (filters)
- Moved all filters to pyrogram.filters
- Moved all handlers to pyrogram.handlers
- Moved all emoji to pyrogram.emoji
- Renamed pyrogram.api to pyrogram.raw
- Clock is now synced with server's time
- Telegram schema updated to Layer 117
- Greatly improved the TL compiler (proper type-constructor hierarchy)
- Added "do not edit" warning in generated files
- Crypto parts are executed in a thread pool to avoid blocking the event loop
- idle() is now a separate function (it doesn't deal with Client instances)
- Async storage, async filters and async progress callback (optional, can be sync too)
- Added getpass back, for hidden password inputs
2020-08-22 08:05:05 +02:00