Broadcast message Not responding

Vinoth Rajendran
Added about 4 years ago

In Tigase 7.0.0 SNAPSHOT, I can broad cast message to user using web UI.

Alternatively, I want to sent message to user using a code. So I sent santza to server its not responding. A following stanza which i have sent to server :

<iq type="set" to="sess-man@" id="c0eww2">
        <command xmlns="" node="" action="execute">
            <x xmlns="jabber:x:data" type="submit" xmlns="jabber:x:data">
                <title>Message to online users</title>
                <instructions>Fill out this form to make an announcement to all active users of this service.</instructions>
                <field var="FORM_TYPE" type="hidden">
                <field var="from-jid" type="jid-single" label="From address">
                <field var="subject" type="text-single">
                    <value>Message from administrators nsg</value>
                <field var="msg-type" type="list-single" label="Type">
                    <option label="normal">
                    <option label="headline">
                    <option label="chat">
                <field var="announcement" type="text-multi">
                    <value/><value>test msg</value>
                <field var="notify-cluster" type="hidden">

How can I send message to user using a code?

and one more thing Is there Broadcast message feature available in Tigase 5.2.3?

Replies (1)


Added by Artur Hefczyc TigaseTeam about 4 years ago

If you can send a broadcast message using WEB UI, then mu suggestion is to look at the exact message being sent from web UI and make sure your code is sending the same exact thing.

Yes, the version 5.2.3 supports the same exact broadcast message feature.