mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-29 04:43:45 +03:00
replace chat with :term:chat in some docstrings:
This commit is contained in:
parent
c2509ade09
commit
51c2db90c4
|
@ -49,7 +49,7 @@ class Dialog(metaclass=NoPublicConstructor):
|
|||
@property
|
||||
def chat(self) -> Chat:
|
||||
"""
|
||||
The chat where messages are sent in this dialog.
|
||||
The :term:`chat` where messages are sent in this dialog.
|
||||
"""
|
||||
return self._chat_map[peer_id(self._raw.peer)]
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ class Draft(metaclass=NoPublicConstructor):
|
|||
@property
|
||||
def chat(self) -> Chat:
|
||||
"""
|
||||
The chat where the draft is saved.
|
||||
The :term:`chat` where the draft is saved.
|
||||
|
||||
This is also the chat where the message will be sent to by :meth:`send`.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user