function stopTyping(bool $force = false) {
        if($this->typingTriggered['count'] === 0) {
            return;
        }
        
        $this->typingTriggered['count']--;
        if($force) {
            $this->typingTriggered['count'] = 0;
        }
        
        if($this->typingTriggered['count'] === 0) {
            if($this->typingTriggered['timer']) {
                $this->client->cancelTimer($this->typingTriggered['timer']);
                $this->typingTriggered['timer'] = null;
            }
        }
    }
function stopTyping(bool $force = false) {
        if($this->typingTriggered['count'] === 0) {
            return;
        }
        
        $this->typingTriggered['count']--;
        if($force) {
            $this->typingTriggered['count'] = 0;
        }
        
        if($this->typingTriggered['count'] === 0) {
            if($this->typingTriggered['timer']) {
                $this->client->cancelTimer($this->typingTriggered['timer']);
                $this->typingTriggered['timer'] = null;
            }
        }
    }
function stopTyping ( bool $ force = false ) { if ( $ this -> typingTriggered [ 'count' ] === 0 ) { return ; } $ this -> typingTriggered [ 'count' ] -- ; if ( $ force ) { $ this -> typingTriggered [ 'count' ] = 0 ; } if ( $ this -> typingTriggered [ 'count' ] === 0 ) { if ( $ this -> typingTriggered [ 'timer' ] ) { $ this -> client -> cancelTimer ( $ this -> typingTriggered [ 'timer' ] ) ; $ this -> typingTriggered [ 'timer' ] = null ; } } }
Stops sending the typing indicator in this channel. Counts down a triggered typing counter.
@param bool  $force  Reset typing counter and stop sending the indicator.
@return void
Stops sending the typing indicator in this channel . Counts down a triggered typing counter .