示例:
<iq id="q2dLp-7" to="group.101.200.173.113" type="set">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<create group_name="群1" desc="此群是XXX项目群" public="1" max="100" approval="1"/>
</group>
</iq>
示例:
<iq from="group.101.200.173.113" to="aa@101.200.173.113/zzlhm" id="q2dLp-7" type="result">
<group xmlns="http://www.ucfgroup.com/protocol/group" ver="20160711162639">
<create group_id="5BC3713FE3609"/>
</group>
</iq>
示例:
<iq id="q2dLp-9" to="group.101.200.173.113" type="set">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<invite group_id="5BC3713FE3609">
<user>bb@101.200.173.113</user>
</invite>
</group>
</iq>
发起邀请的这一方会收到响应.
示例:
<iq from="group.101.200.173.113" to="aa@101.200.173.113/zzlhm" id="q2dLp-9" type="result">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<invite>
<user jid="bb@101.200.173.113" result="1"/>
</invite>
</group>
</iq>
被邀请一方会收到通知消息.
示例:
<message from="group.111.203.171.157" to="kf001@111.203.171.157">
<query xmlns="http://www.ucfgroup.com/protocol/group" ver="20160920202950">
<get_group>
<groups group_id="5C26C102C2945" group_name="????、云平台客服001、" public="1" approval="1" desc="" create_time="20160921152346" members_max="200">
<item affiliations="member" nickname="kf001" jid="kf001@111.203.171.157"/>
<item affiliations="owner" nickname="" jid="xiaowang@111.203.171.157"/>
</groups>
</get_group>
</query>
<event xmlns="http://www.ucfgroup.com/protocol/group#event">
<items group_id="5C26C102C2945">
<item notice="invite" from="xiaowang@111.203.171.157" nickname="xiaowang">����e��</item>
</items>
</event>
</message>
示例:
<iq id="q2dLp-27" to="group.101.200.173.113" type="set">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<delete_member group_id="5BC3713FE3609" jid="cc@101.200.173.113"/>
</group>
</iq>
发起删除的这一方会收到响应.
示例:
<iq from="group.101.200.173.113" to="aa@101.200.173.113/zzlhm" id="q2dLp-27" type="result">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<delete_member/>
</group>
</iq>
群成员都(包括群主自己)会收到通知消息.
示例:
<message from="group.111.203.171.157" to="kf001@111.203.171.157">
<event xmlns="http://www.ucfgroup.com/protocol/group#event">
<items group_id="5C26CF253B0DB">
<item notice="delete_member" from="xiaowang@111.203.171.157" nickname="xiaowang">你被管理员踢出了群</item>
</items>
</event>
</message>
示例:
<iq id="P3f0g-81" to="group.101.200.173.113" type="set">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<set_admin group_id="5BC3950DE5ECC" jid="cc@101.200.173.113"/>
</group>
</iq>
示例:
<iq id="P3f0g-81" to="group.101.200.173.113" type="set">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<set_admin group_id="5BC3950DE5ECC" jid="cc@101.200.173.113"/>
</group>
</iq>
示例:
<iq id="P3f0g-83" to="group.101.200.173.113" type="set">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<quit_group group_id="5BC3950DE5ECC"/>
</group>
</iq>
示例:
<iq from="group.101.200.173.113" to="aa@101.200.173.113/dozmd" id="P3f0g-83" type="result">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<quit_group/>
</group>
</iq>
示例:
<iq id="xJ1g2-98" to="group.101.200.173.113" type="set">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<delete group_id="5BC3950DE5ECC"/>
</group>
</iq>
示例:
<iq from="group.101.200.173.113" to="cc@101.200.173.113/swqom" id="xJ1g2-98" type="result">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<delete group_id="5BC3950DE5ECC"/>
</group>
</iq>
群成员都(包括群主自己)会收到通知消息.
示例:
<message from="group.111.203.171.157" to="kf001@111.203.171.157">
<event xmlns="http://www.ucfgroup.com/protocol/group#event">
<items group_id="5C26CF253B0DB">
<item notice="delete_group" from="xiaowang@111.203.171.157" nickname="xiaowang">群被解散了</item>
</items>
</event>
</message>
示例:
示例:
示例:
示例:
示例:
<iq id="xJ1g2-13" to="group.101.200.173.113" type="get">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<get_group ver="20160711164733"/>
</group>
</iq>
示例:
<iq from="group.101.200.173.113" to="cc@101.200.173.113/nxajz" id="xJ1g2-13" type="result">
<group xmlns="http://www.ucfgroup.com/protocol/group">
<get_group ver="20160711164926" replace="1">
<groups replace="1" group_id="5BC3713FE3609" group_name="aaaaaa" public="1" approval="1" desc="" create_time="20160711162639" members_max="100">
<item affiliations="member" nickname="cc" jid="cc@101.200.173.113"/>
<item affiliations="member" nickname="bb" jid="bb@101.200.173.113"/>
<item affiliations="owner" nickname="" jid="aa@101.200.173.113"/>
</groups>
</get_group>
</group>
</iq>