Weblin Code‎ > ‎XMPP Client‎ > ‎

XMPP Client Function Extension

Gift received:
<message from=
'PLATFORMJID' to='TO' type='normal'>
<x xmlns='jabber:iq:rpc'> <query xmlns='jabber:iq:rpc'> <methodCall> <methodName>Main.SystemMessage</methodName> <params> <param> <value>_community</value> </param> <param> <value>_dialog</value> </param> <param> <value>MESSAGETEXT</value> </param> <param> <value>GIFTURL</value> </param> <param> <value> <int>WINDOWWIDTH</int> </value> </param> <param> <value> <int>WINDOWHEIGHT</int> </value> </param> </params> </methodCall> </query> </x> </message>

PLATFORMJID:         see LOGIN*
TO:                 XMPP Address Receiver
MESSAGETEXT: Received Text in Language of Receiver
GIFTURL:                 URL for received Gift
WINDOWWIDTH: Embedded Window width
WINDOWHEIGHT: Embedded Window height




Wousle received:
<message from='PLATFORMJID' to='TO' type='normal'>
	<x xmlns='jabber:iq:rpc'>
		<query xmlns='jabber:iq:rpc'>
			<methodCall>
				<methodName>Main.SystemMessage</methodName>
				<params>
					<param>
						<value>_tousle</value>
					</param>
					<param>
						<value>_toast</value>
					</param>
					<param>
						<value>NICK</value>
					</param>
					<param>
						<value>hMESSAGETEXT</value>
					</param>
					<param>
						<value>
							<int>0</int>
						</value>
					</param>
					<param>
						<value>
							<int>0</int>
						</value>
					</param>
				</params>
			</methodCall>
		</query>
	</x>
</message>

PLATFORMJID:     see LOGIN*
TO:             XMPP Address Receiver
NICK:     Nickname Transmitter
MESSAGETEXT:   Received Text in Language of Receiver




Mailbox received:
<message from='PLATFORMJID' to='TO' type='normal'>
	<x xmlns='jabber:iq:rpc'>
		<query xmlns='jabber:iq:rpc'>
			<methodCall>
				<methodName>Main.SystemMessage</methodName>
				<params>
					<param>
						<value>_mailbox</value>
					</param>
					<param>
						<value>_toast</value>
					</param>
					<param>
						<value>NICK</value>
					</param>
					<param>
						<value>MESSAGETEXT</value>
					</param>
					<param>
						<value>
							<int>0</int>
						</value>
					</param>
					<param>
						<value>
							<int>0</int>
						</value>
					</param>
				</params>
			</methodCall>
		</query>
	</x>
</message>

PLATFORMJID:     see LOGIN*
TO:             XMPP Address Receiver
NICK:     Nickname Transmitter
MESSAGETEXT:   Received Subject of message




Request Call Friend:
<message from='PLATFORMJID' to='TO' type='normal'>
	<x xmlns='jabber:iq:rpc'>
		<query xmlns='jabber:iq:rpc'>
			<methodCall>
				<methodName>ContactList.BuddyRequest</methodName>
				<params>
					<param>
						<value>JID</value>
					</param>
					<param>
						<value>NICK</value>
					</param>
					<param>
						<value>MESSAGETEXT</value>
					</param>
				</params>
			</methodCall>
		</query>
	</x>
</message>

PLATFORMJID:     see LOGIN*
TO:             XMPP Address Receiver
JID:             JID Transmitter
NICK:     Nickname Transmitter
MESSAGETEXT:   Received message of Question




Contact Update:
<iq from='PLATFORMJID' to='TO' type='set'>
	<query xmlns='jabber:iq:rpc'>
		<methodCall>
			<methodName>ContactList.Update</methodName>
			<params>
				<param>
					<value>CONTACTLIST</value>
				</param>
			</params>
		</methodCall>
	</query>
</iq>

PLATFORMJID:     see LOGIN*
TO:             XMPP Address Receiver
CONTACTLIST:     New Contactlist XML-Coding




Location received:
<iq from=PLATFORMJID to=TO type='set'>
    <query xmlns='jabber:iq:rpc'>
        <methodCall>
            <methodName>UserMessage.IAmHere</methodName>
            <params>
                <param>
                    <value>TOBAREJID</value>
                </param>
                <param>
                    <value>FROM</value>
                </param>
                <param>
                    <value>URL</value>
                </param>
                <param>
                    <value>MESSAGETEXT</value>
                </param>
            </params>
        </methodCall>
    </query>
</iq>


PLATFORMJID:         see LOGIN*
TO:                 XMPP Address Receiver
TOBAREJID:             XMPP Address Receiver (Bare)
MESSAGETEXT:       Received Text in Language of Receiver (ignore by original client)
URL:                      URL for received Gift




Login*: XML-File from Weblin Login Server