How to send stanza message all users?

Hello,

how can i send stanza message all users with connecting api ?

POST /api/send_stanza
{
"from": "admin@localhost",
"to": "user1@localhost",
"stanza": ""
}

HTTP/1.1 200 OK
""
Thank you

i found it with announce all

i found it with announce all

Syndicate content

Hello! Forums are READ-ONLY.

Ask development questions on Stack Overflow »

Ask administration questions on Server Fault »

Join us in ejabberd chatroom »