SendChatMessage Method



 
The SendChatMessage method sends a message.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    Chat.SendChatMessage(sessionIndex, message)
    
Parameters
    sessionIndex Long value that specifies the session index.
    message String that specifies the message to send.
Return Value
    None.
Remarks
    None.
Examples
    The following example sends a message to the user of the first session.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.Chat.SendChatMessage(1, "Message");
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top