viper-drakula Full Member
Medals : Posts : 271 Emtiaz : 39641 Thanked : 30 Join date : 2013-07-27 Age : 34 Job/Hobbies : Daneshjoo Asl : Sepanta 24 Shiraz My Mood :
| |
esi.0181 Firebuzz Member
Medals : Posts : 1065 Emtiaz : 41896 Thanked : 102 Join date : 2013-06-11 Age : 32 Job/Hobbies : danesh jo Asl : shahin-anzali-18 sale 1373/6/6 My Mood :
| Subject: Re: Need XML code for agsXMPP.dll(c#) Tue Jul 30, 2013 3:06 pm | |
| xml join room - Code:
-
esi1.Send("<presence to='" + txtroom.Text + "@conference.nimbuzz.com/" + txtid.Text + "' xml:lang='en'><x xmlns='http://jabber.org/protocol/muc'><password>" + txtpass.Text + "</password></x></presence>");
xml send pm room - Code:
-
esi.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + txtpm.Text + "</body></message>");
age cole c#bal bodi inam balad bodi dadashi inam code wlc - Code:
-
private void wlc(object sender, agsXMPP.protocol.client.Presence Pres) { if (InvokeRequired) { base.BeginInvoke(new agsXMPP.protocol.client.PresenceHandler(wlc), new object[] { sender, Pres }); return; } else { if (checkBox1.Checked) { if (Pres.Type == PresenceType.available) { string[] boot = null; boot = textBox6.Text.Split('#'); Random rnd = new Random(); string result = boot[rnd.Next(boot.Length)];
Firebuzz.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + Pres.From.Resource + ": " + result + "</body></message>"); return; } |
|
l!v!lonster Admin
Medals : Posts : 839 Emtiaz : 41268 Thanked : 220 Join date : 2013-06-10 Job/Hobbies : Karmand Asl : Mojtaba 26 GolesTan My Mood :
| Subject: Re: Need XML code for agsXMPP.dll(c#) Tue Jul 30, 2013 6:14 pm | |
|
ADD req:
- Code:
-
<presence to='TARGET@nimbuzz.com' type='subscribe'/>
join room : - Code:
-
<presence to='ROOM [You must be registered and logged in to see this link.]/'><priority>0</priority><x xmlns='http://jabber.org/protocol/muc'><password>ROOM PASSWORD</password></x></presence>
pm in room: - Code:
-
<message to='ROOM [You must be registered and logged in to see this link.]' type='groupchat'><body>YOUR PM</body></message>
left Room:
- Code:
-
<presence to='ROOM [You must be registered and logged in to see this link.]/' type='unavailable'></presence>
lock room:
- Code:
-
<iq type='set' to='ROOM [You must be registered and logged in to see this link.]' id='mir_741'><query xmlns='http://jabber.org/protocol/muc#owner'><x xmlns='jabber:x:data' type='submit'><field var='muc#roomconfig_roomname'><value>ROOM NAME</value></field><field var='muc#roomconfig_roomdesc'><value></value></field><field var='muc#roomconfig_passwordprotectedroom'><value>1</value></field><field var='muc#roomconfig_roomsecret'><value>NEW PASSWORD</value></field></x></query></iq>
set sub in room : - Code:
-
<message to='ROOM [You must be registered and logged in to see this link.]' type='groupchat'><subject>YOUR SUBJECT</subject></message>
change pass: - Code:
-
<iq to='nimbuzz.com' type='set' id='discoResult'><query xmlns='jabber:iq:register'><username></username><password>YOUR NEW PASSWORD</password></query></iq>
change email: - Code:
-
<iq to='nimbuzz.com' type='set' id='discoResult'><query xmlns='jabber:iq:register'><username></username><email>YOUR NEW EMAIL</email></query></iq>
change Tell: - Code:
-
<iq type='set' id='jenaze' to='validate.nimbuzz.com'><validate xmlns='http://nimbuzz.com/protocol/validate'><p>+98 YOUR NEW TEL</p></validate></iq>
SEnd Pv:
- Code:
-
<message type='chat' to='TARGET@nimbuzz.com' id='FireBuzz TeaM'><body>YOUR PM</body><active xmlns='http://jabber.org/protocol/chatstates' /><x xmlns='jabber:x:event'><composing /></x></message>
Unlock Room: - Code:
-
<iq type='set' to='ROOM [You must be registered and logged in to see this link.]' id='mir_776'><query xmlns='http://jabber.org/protocol/muc#owner'><x xmlns='jabber:x:data' type='submit'><field var='muc#roomconfig_roomname'><value>ROOM NAME</value></field><field var='muc#roomconfig_passwordprotectedroom'><value>0</value></field><field var='muc#roomconfig_roomsecret'><value></value></field></x></query></iq>
kick: - Code:
-
<iq to='ROOM [You must be registered and logged in to see this link.]' type='set' id='itemmuc'><query xmlns='http://jabber.org/protocol/muc#admin'><item role='none' nick='TARGET'><reason>: man kick kardam :P</reason></item></query></iq>
ban: - Code:
-
<iq xmlns='jabber:client' to='ROOM [You must be registered and logged in to see this link.]' type='set' id='449'><query xmlns='http://jabber.org/protocol/muc#admin'><item affiliation='outcast' jid='TARGET@nimbuzz.com' /></query></iq>
visitor : - Code:
-
<iq type='set' to='ROOM [You must be registered and logged in to see this link.]' id='mir_437'><query xmlns='http://jabber.org/protocol/muc#admin'><item nick='TARGET' role='visitor' /></query></iq>
member: - Code:
-
<iq xmlns='jabber:client' to='ROOM [You must be registered and logged in to see this link.]' type='set' id='353'><query xmlns='http://jabber.org/protocol/muc#admin'><item affiliation='member' jid='TARGET@nimbuzz.com' /></query></iq>
moderator : - Code:
-
<iq xmlns='jabber:client' to='ROOM [You must be registered and logged in to see this link.]' type='set' id='437'><query xmlns='http://jabber.org/protocol/muc#admin'><item nick='TARGET' role='moderator' /></query></iq>
admin : - Code:
-
<iq xmlns='jabber:client' to='ROOM [You must be registered and logged in to see this link.]' type='set' id='353'><query xmlns='http://jabber.org/protocol/muc#admin'><item affiliation='admin' jid='TARGET@nimbuzz.com' /></query></iq>
Owner: - Code:
-
<iq xmlns='jabber:client' to='ROOM [You must be registered and logged in to see this link.]' type='set' id='364'><query xmlns='http://jabber.org/protocol/muc#admin'><item affiliation='owner' jid='TARGET@nimbuzz.com' /></query></iq> |
|
esi.0181 Firebuzz Member
Medals : Posts : 1065 Emtiaz : 41896 Thanked : 102 Join date : 2013-06-11 Age : 32 Job/Hobbies : danesh jo Asl : shahin-anzali-18 sale 1373/6/6 My Mood :
| Subject: Re: Need XML code for agsXMPP.dll(c#) Wed Aug 07, 2013 3:25 pm | |
| |
|
Sponsored content
| Subject: Re: Need XML code for agsXMPP.dll(c#) | |
| |
|