src/Bot.php
public function onConversation(\Closure $handler)
    {
        $this->managers[] = new Manager(function (Event $event) {
            return ($event instanceof \Viber\Api\Event\Conversation);
        }, $handler);

        return $this;
    }
public function onConversation(\Closure $handler)
    {
        $this->managers[] = new Manager(function (Event $event) {
            return ($event instanceof \Viber\Api\Event\Conversation);
        }, $handler);

        return $this;
    }
public function onConversation ( \ Closure $ handler ) { $ this -> managers [ ] = new Manager ( function ( Event $ event ) { return ( $ event instanceof \ Viber \ Api \ Event \ Conversation ) ; } , $ handler ) ; return $ this ; }
Register conversation event handler

@param Closure $handler valid function
@return \Viber\Bot
Register conversation event handler