<commit_before>var Message = function(campfire, data) {
  this.id        = data.id;
  this.body      = data.body;
  this.type      = data.type;
  this.roomId    = data.room_id;
  this.userId    = data.user_id;
  this.createdAt = new Date(data.created_at);

  this.path     = "/messages/" + this.id;
  this.campfire = campfire;
};

Message.prototype.star = function(callback) {
  this.post("/star", null, callback);
};

Message.prototype.unstar = function(callback) {
  this.delete("/star", callback);
};

Message.prototype.delete = function(path, callback) {
  this.campfire.delete(this.path + path, callback);
};
<commit_msg> Add undocumented Message.tweet<commit_after>var Message = function(campfire, data) {
  this.id        = data.id;
  this.body      = data.body;
  this.type      = data.type;
  this.roomId    = data.room_id;
  this.userId    = data.user_id;
  this.tweet     = data.tweet;
  this.createdAt = new Date(data.created_at);

  this.path     = "/messages/" + this.id;
  this.campfire = campfire;
};

Message.prototype.star = function(callback) {
  this.post("/star", null, callback);
};

Message.prototype.unstar = function(callback) {
  this.delete("/star", callback);
};

Message.prototype.delete = function(path, callback) {
  this.campfire.delete(this.path + path, callback);
};

{'fraction_non_alphanumeric': 0.15449654112221367, 'fraction_numerical': 0.0, 'mean_word_length': 3.34, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '625843', 'n_tokens_mistral': 443, 'n_tokens_neox': 440, 'n_words': 79}