def update(self, body=values.unset, attributes=values.unset,<EOL>date_created=values.unset, date_updated=values.unset,<EOL>last_updated_by=values.unset, from_=values.unset):
data = values.of({<EOL>'<STR_LIT>': body,<EOL>'<STR_LIT>': attributes,<EOL>'<STR_LIT>': serialize.iso8601_datetime(date_created),<EOL>'<STR_LIT>': serialize.iso8601_datetime(date_updated),<EOL>'<STR_LIT>': last_updated_by,<EOL>'<STR_LIT>': from_,<EOL>})<EOL>payload = self._version.update(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return MessageInstance(<EOL>self._version,<EOL>payload,<EOL>service_sid=self._solution['<STR_LIT>'],<EOL>channel_sid=self._solution['<STR_LIT>'],<EOL>sid=self._solution['<STR_LIT>'],<EOL>)<EOL>
Update the MessageInstance

:param unicode body: The message to send to the channel
:param unicode attributes: A valid JSON string that contains application-specific data
:param datetime date_created: The ISO 8601 date and time in GMT when the resource was created
:param datetime date_updated: The ISO 8601 date and time in GMT when the resource was updated
:param unicode last_updated_by: The Identity of the User who last updated the Message, if applicable
:param unicode from_: The identity of the message's author

:returns: Updated MessageInstance
:rtype: twilio.rest.chat.v2.service.channel.message.MessageInstance