replace chat with :term:chat in some docstrings:

This commit is contained in:
apepenkov 2023-11-11 23:00:49 +03:00
parent c2509ade09
commit 51c2db90c4
2 changed files with 2 additions and 2 deletions

View File

@ -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)]

View File

@ -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`.
"""