def typing(self, room: Room, timeout: int = 5000):
        """
        Send typing event directly to api

        Args:
            room: room to send typing event to
            timeout: timeout for the event, in ms
        """
        path = f'/rooms/{quote(room.room_id)}/typing/{quote(self.user_id)}'
        return self.api._send('PUT', path, {'typing': True, 'timeout': timeout})
def typing ( self , room : Room , timeout : int = 5000 ) : path = f'/rooms/{quote(room.room_id)}/typing/{quote(self.user_id)}' return self . api . _send ( 'PUT' , path , { 'typing' : True , 'timeout' : timeout } )
Send typing event directly to api

        Args:
            room: room to send typing event to
            timeout: timeout for the event, in ms