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 |
- Source:
Properties:
Name | Type | Description |
---|---|---|
channel |
BanchoChannel | Channel the message was received from |
Extends
Members
-
content :string
-
The content of this message
Type:
- string
- Inherited From:
- Overrides:
- Source: