code: function(friendnum, type, message) {
    this.type = 'FriendMessageEvent';
    this._friendnum = friendnum;
    this._message = message;
    this._messageType = type;
  }
docs: Event object fired by {@class Tox}.
  Corresponds to tox_callback_friend_message(3).
  @class
  @param {Number} friendnum Friend number
  @param {Number} type Message type
  @param {String} message Message