public function update($body) {
        $data = Values::of(array('Body' => $body, ));

        $payload = $this->version->update(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new MessageInstance(
            $this->version,
            $payload,
            $this->solution['accountSid'],
            $this->solution['sid']
        );
    }
public function update($body) {
        $data = Values::of(array('Body' => $body, ));

        $payload = $this->version->update(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new MessageInstance(
            $this->version,
            $payload,
            $this->solution['accountSid'],
            $this->solution['sid']
        );
    }
public function update ( $ body ) { $ data = Values :: of ( array ( 'Body' => $ body , ) ) ; $ payload = $ this -> version -> update ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new MessageInstance ( $ this -> version , $ payload , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'sid' ] ) ; }
Update the MessageInstance

@param string $body The text of the message you want to send
@return MessageInstance Updated MessageInstance
@throws TwilioException When an HTTP error occurs.
Update the MessageInstance