Struct Message
Represents a simple sent message from bancho
struct Message
;
Fields
| Name | Type | Description |
|---|---|---|
message
|
string | content of the message |
sender
|
string | User who wrote this message |
target
|
string | Target channel (#channel) or username |
Methods
| Name | Description |
|---|---|
toString
|
Serializes to "[sender] -> [target]: [message]" |