How to send message in muc group using ejabberd API?

785 Views Asked by At

I know using " ejabberdctl send_message groupchat user1@localhost [email protected] Sub Bodyyy" this command we can send group messages. But how to implement the same using HTTP API that ejabbered provides (here)? Is it possible? Else what are the other options which i can use?

1

There are 1 best solutions below

2
On BEST ANSWER

Yes, see https://docs.ejabberd.im/developer/ejabberd-api/simple-configuration/ to enable the module. Or you can enable ejabberd_xmlrpc and send XML-RPC queries.