Class: ChannelMessage

ChannelMessage

Message received from a Channel


new ChannelMessage(user, message, self, channel)

Creates an instance of ChannelMessage.

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

channel BanchoChannel

Channel the message was received from

Properties:
Name Type Description
channel BanchoChannel

Channel the message was received from

Source:

Extends

Members


content :string

The content of this message

Type:
  • string
Inherited From:
Overrides:
Source: