SHARE
TWEET

Untitled

a guest Aug 17th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <message xmlns:cli="jabber:client" to="rajan@example.umobility.bizrtc" cli:subject="TEXT MESSAGE" cli:lang="en" type="chat" id="cloud_1566041218537" from="cloud@example.umobility.bizrtc/primea"><body>Hello World</body><request xmlns="urn:xmpp:receipts"></request></message>
  2.      
  3. <message cli="[object Object]" from="rajan@example.umobility.bizrtc/7trki6ik3b" id="cloud_1565005747735" to="cloud@example.umobility.bizrtc/primea" type="chat"><body>Hello World Rajan </body><request xmlns="urn:xmpp:receipts"></request></message>
  4.      
  5. connection.send($pres().c("priority").t("1"));
  6.  
  7. connection.sendIQ($iq({type: "get"}).c("query", {xmlns: Strophe.NS.ROSTER}).tree(), onRoster);
  8.  
  9. var mymessge = $msg({
  10.                       to: 'cloud@rtm.umobility.bizrtc/primea',
  11.                       from: 'rajan@rtm.umobility.bizrtc/primea',
  12.                       type: "chat",
  13.                       id: "cloud_1565005747735"}).attrs({cli:({subject:"TEXT MESSAGE"})}).c('body').t("Hello World Rajan ").up().c("request", {
  14.                       xmlns: "urn:xmpp:receipts" });
  15.  
  16. connection.send(mymessge);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top