SFSEventMODERATOR_MESSAGE Field |
Dispatched when the current user receives a message from a moderator user.
Namespace:
Sfs2X.Core
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public static readonly string MODERATOR_MESSAGE
Field Value
Type:
StringRemarks
This event can be caused by the
ModeratorMessageRequest,
KickUserRequest or
BanUserRequest requests sent by a user with at least moderation privileges.
Also, this event can be caused by a kick/ban action performed through the SmartFoxServer 2X Administration Tool.
The
Params object contains the following parameters:
Parameter | Description |
---|
sender | (User) An object representing the moderator user who sent the message. |
message | (string) The message sent by the moderator. |
data | (ISFSObject) An object containing custom parameters which might accompany the message. |
Examples See Also