src/Message.php
function reply($reply) {
        $arr = array('id' => $this->id);
        
        if($reply instanceof \Throwable) {
            $arr['error'] = static::exportException($reply);
        } else {
            $arr['result'] = $reply;
        }
        
        return (new static('reply', $arr));
    }
function reply($reply) {
        $arr = array('id' => $this->id);
        
        if($reply instanceof \Throwable) {
            $arr['error'] = static::exportException($reply);
        } else {
            $arr['result'] = $reply;
        }
        
        return (new static('reply', $arr));
    }
Replies to a message (sends a message with type `reply`).
If `$reply` is a throwable, it will be exported and on usage of `Message::getException` imported.
@param mixed|\Throwable  $reply  Must be serializable.
@return \CharlotteDunois\Phoebe\Message