@property
def chat(self):
    "\n        Returns the :tl:`User`, :tl:`Chat` or :tl:`Channel` where this object\n        belongs to. It may be ``None`` if Telegram didn't send the chat.\n\n        If you're using `telethon.events`, use `get_chat` instead.\n        "
    return self._chat
Returns the :tl:`User`, :tl:`Chat` or :tl:`Channel` where this object
belongs to. It may be ``None`` if Telegram didn't send the chat.

If you're using `telethon.events`, use `get_chat` instead.
@property
def chat(self):
    "\n        Returns the :tl:`User`, :tl:`Chat` or :tl:`Channel` where this object\n        belongs to. It may be ``None`` if Telegram didn't send the chat.\n\n        If you're using `telethon.events`, use `get_chat` instead.\n        "
    return self._chat