mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Fix type of "has_protected_content" (#994)
`has_protected_content` attribute of Message class was assigned the wrong type in the docstring (str), corrected it to `bool`
This commit is contained in:
parent
edf5e9863f
commit
a1bdcd672e
@ -133,7 +133,7 @@ class Message(Object, Update):
|
|||||||
Signature of the post author for messages in channels, or the custom title of an anonymous group
|
Signature of the post author for messages in channels, or the custom title of an anonymous group
|
||||||
administrator.
|
administrator.
|
||||||
|
|
||||||
has_protected_content (``str``, *optional*):
|
has_protected_content (``bool``, *optional*):
|
||||||
True, if the message can't be forwarded.
|
True, if the message can't be forwarded.
|
||||||
|
|
||||||
text (``str``, *optional*):
|
text (``str``, *optional*):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user