Document custom.Message

This commit is contained in:
Lonami Exo
2018-06-02 12:52:38 +02:00
parent 5c76af34aa
commit f7222407de
6 changed files with 48 additions and 16 deletions

View File

@@ -204,8 +204,8 @@ class ChatAction(EventBuilder):
@property
def pinned_message(self):
"""
If ``new_pin`` is ``True``, this returns the (:tl:`Message`)
object that was pinned.
If ``new_pin`` is ``True``, this returns the
`telethon.tl.custom.message.Message` object that was pinned.
"""
if self._pinned_message == 0:
return None