Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit a1bdcd6

Browse files
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`
1 parent edf5e98 commit a1bdcd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrogram/types/messages_and_media/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class Message(Object, Update):
133133
Signature of the post author for messages in channels, or the custom title of an anonymous group
134134
administrator.
135135
136-
has_protected_content (``str``, *optional*):
136+
has_protected_content (``bool``, *optional*):
137137
True, if the message can't be forwarded.
138138
139139
text (``str``, *optional*):

0 commit comments

Comments
 (0)