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

The content of this message

Inherited From:
Overrides:
Source:

Methods


getAction()

Tries to parse this message as an ACTION (/me message).

Inherited From:
Overrides:
Source:
Returns:
Type
string