Request to retrieve messages tagged with @User1
and #People
from chat with user juliet@capulet.com
between 2014-01-01 00:00:00
and 2014-05-01 00:00:00
<iq type="get" id="query2"> <retrieve xmlns='urn:xmpp:archive' with='juliet@capulet.com' from='2014-01-01T00:00:00Z' end='2014-05-01T00:00:00Z'> <query xmlns="http://tigase.org/protocol/archive#query"> <tag>#People</tag> <tag>@User1</tag> </query> </retrieve> </iq>