mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-11-11 19:40:36 +00:00
Document custom.Message
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user