FAXL3: chat opened event XML
From fringDocumentation
Final XML:
<?xml version="1.0" encoding="UTF-8"?>
<Request>
<Recipients>
<UserHash></UserHash>
</Recipients>
<MessageFeed>
<Controls/>
<Commands>
<Command>
<DisplayName>
<LocaleStrings>
<SingleString locale="EN">Register chat opened event</SingleString>
</LocaleStrings>
</DisplayName>
<Actions>
<ActionRunScript>
<IN>
<arg>
<value name="actions">
<Actions>
<ActionRunScript>
<IN>
<argScriptBody>
<value>
fringalert("chat opened: " + fring.GetParameter( "container" ));
</value>
</argScriptBody>
</IN>
</ActionRunScript>
</Actions>
</value>
</arg>
<argScriptBody>
<value>
fring.RegisterOnChatTabOpen("container", "actions");
</value>
</argScriptBody>
</IN>
</ActionRunScript>
</Actions>
</Command>
</Commands>
</MessageFeed>
</Request>