def subscribe_to_chat(
        self,
        subscriber: Callable[[events.ChatMessageWasReceived], None],
    ) -> None:
        """
        Not thread-safe.

        """
        self._chat_subscribers.append(subscriber)
Not thread-safe.