Dispatched when the current user receives a message from an administrator user.

Namespace: Sfs2X.Core
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

Syntax

C#
public static readonly string ADMIN_MESSAGE

Field Value

Type: String

Remarks

This event is caused by the AdminMessageRequest request sent by a user with administration privileges.

The Params object contains the following parameters:

ParameterDescription
sender(User) An object representing the administrator user who sent the message.
message(string) The message sent by the administrator.
data(ISFSObject) An object containing custom parameters which might accompany the message.

Examples

See the AdminMessageRequest example.

See Also