ChatMessageHelper Methods |
The ChatMessageHelper type exposes the following members.
Name | Description | |
---|---|---|
BuildNewChatMessage |
Creates new ChatMessage info from the specified parameters. This message is not whisper.
| |
GetLatestMessages |
Gets latest messages from DB.
| |
GetSystemMessageText |
Gets default text representation of the system message. It is a macro which needs to be resolved before sending to the client.
Exception is thrown if messageType is not a system message.
Example of a returned value: {$chat.system.userhaschangednickname|(replace){0}(with)guest_42|(replace){1}(with)lalalal$}
| |
InsertSystemMessage |
Inserts system message to the room with default translation and optional params specified as args.
| |
PerformBadWordsCheck |
Perform bad words check on message text
| |
PostMessage |
Inserts new message to room. Message is of type ClassicMessage.
| |
PostMessageToUser |
Inserts new whisper message to room.
| |
RejectMessage |
Rejects passed message.
|