Class: PrivateMessage

PrivateMessage

Message received in our private inbox


new PrivateMessage(user, recipient, message, self)

Parameters:
Name Type Description
user BanchoUser

User the message was sent by

recipient BanchoUser

User the message was sent to

message string

Message body

self boolean

Set to true if this message was sent by this instance of bancho.js

Source:

Extends

Members


content :string

The content of this message

Type:
  • string
Inherited From:
Overrides:
Source: