Update docs for silent parameter

Since it now also works in private chats to "not disturb friends"
(see https://telegram.org/blog/silent-messages-slow-mode).
This commit is contained in:
Lonami Exo
2019-08-10 09:06:05 +02:00
parent f5de2cd9a0
commit 969a36c2a8
4 changed files with 17 additions and 9 deletions

View File

@@ -44,9 +44,12 @@ class Message(ChatGetter, SenderGetter, TLObject, abc.ABC):
Whether you have read the media in this message
or not, e.g. listened to the voice note media.
silent (`bool`):
Whether this message should notify or not,
used in channels.
Whether the message should notify people with sound or not.
Previously used in channels, but since 9 August 2019, it can
also be `used in private chats
<https://telegram.org/blog/silent-messages-slow-mode>`_.
post (`bool`):
Whether this message is a post in a broadcast