code: function(id, params, callback) {
          /**
           * Callback for QB.chat.message.update()
           * @param {Object} error - The error object
           * @param {Object} response - Empty body.
           * @callback updateMessageCallback
           * */
  
          var attrAjax = {
              'type': 'PUT',
              'dataType': 'text',
              'url': Utils.getUrl(MESSAGES_API_URL, id),
              'data': params
          };
  
          this.service.ajax(attrAjax, callback);
      }
docs: Update message. {@link https://docsdev.quickblox.com/rest_api/Chat_API.html#Update_message More info.}
  @memberof QB.chat.message
  @param {String} id - The message id.
  @param {Object} params - Object of parameters
  @param {Number} [params.read] - Mark message as read (read=1)
  @param {Number} [params.delivered] - Mark message as delivered (delivered=1)
  @param {String} [params.message] - The message's text
  @param {updateMessageCallback} callback - The callback function