Subscribe
<iq to="hostname" type="get">
<request>
<metadata>
<toUuid>The device you are modifying</toUuid>
<jobType>CreateSubscription</jobType>
</metadata>
<raw-data>{
"subscriberUuid" : '',
"emitterUuid": '',
"type": 'message.received'
}</raw-data>
</request>
</iq>
@TYPES: [
'broadcast.received'
'broadcast.sent'
'configure.received'
'configure.sent'
'message.received'
'message.sent'
]
{
}
Updated less than a minute ago