<?php namespace Nathanmac\InstantMessenger\Contracts;

interface MessengerQueue {

    /**
     * Queue a new instance message for sending.
     *
     * @param  array   $data
     * @param  \Closure|string  $callback
     * @return mixed
     */
    public function queue(array $data, $callback);

    /**
     * Queue a new instance message for sending after (n) seconds.
     *
     * @param  int  $delay
     * @param  array  $data
     * @param  \Closure|string  $callback
     * @return mixed
     */
    public function later($delay, array $data, $callback);

}

<?php namespace Nathanmac\InstantMessenger\Contracts;

interface MessengerQueue {

    /**
     * Queue a new instance message for sending.
     *
     * @param  \Closure|string  $callback
     * @param  string  $queue
     * @return mixed
     */
    public function queue($callback, $queue = null);

    /**
     * Queue a new instance message for sending after (n) seconds.
     *
     * @param  int  $delay
     * @param  \Closure|string  $callback
     * @param  string  $queue
     * @return mixed
     */
    public function later($delay, $callback, $queue = null);
}

Update queue interface for Messenger, missing queue name setting
Update queue interface for Messenger, missing queue name setting
