src/SlackRTMDriver.php
public function types(IncomingMessage $matchingMessage)
    {
        $channel = null;
        $this->getChannelGroupOrDM($matchingMessage)->then(function ($_channel) use (&$channel) {
            $channel = $_channel;
        });

        if (! is_null($channel)) {
            $this->client->setAsTyping($channel, false);
        }
    }
public function types(IncomingMessage $matchingMessage)
    {
        $channel = null;
        $this->getChannelGroupOrDM($matchingMessage)->then(function ($_channel) use (&$channel) {
            $channel = $_channel;
        });

        if (! is_null($channel)) {
            $this->client->setAsTyping($channel, false);
        }
    }
public function types ( IncomingMessage $ matchingMessage ) { $ channel = null ; $ this -> getChannelGroupOrDM ( $ matchingMessage ) -> then ( function ( $ _channel ) use ( & $ channel ) { $ channel = $ _channel ; } ) ; if ( ! is_null ( $ channel ) ) { $ this -> client -> setAsTyping ( $ channel , false ) ; } }
Send a typing indicator.
@param IncomingMessage $matchingMessage
@return mixed
Send a typing indicator .