Class: BanchoMessage

BanchoMessage

Bancho incoming message


<abstract> new BanchoMessage(user, message, self)

Creates an instance of Message.

Parameters:
Name Type Description
user BanchoUser

User the message was sent by

message string

Message body

self boolean

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

Properties:
Name Type Description
user BanchoUser

User the message was sent by

message string

Message body

self boolean

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

Source:

Members


content :string

The content of this message

Type:
  • string
Source: