Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix type of has_protected_content
`has_protected_content` attribute of Message class was assigned the wrong type in the docstring (str), corrected it to `bool`
  • Loading branch information
prashantsengar authored May 15, 2022
commit 7fcb26a37ebc70102dde36eef811952a13c4d16f
2 changes: 1 addition & 1 deletion pyrogram/types/messages_and_media/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
administrator.

has_protected_content (``str``, *optional*):
has_protected_content (``bool``, *optional*):
True, if the message can't be forwarded.

text (``str``, *optional*):
Expand Down