For instance to send an announcement for servers supporting XEP-0133:
li ad-hoc run "<http://jabber.org/protocol/admin#announce>" -f subject "Maintenance in 30 min" -f announcement "$(<~/announces/maintenance_30.txt)" -S
Check the doc linked above, it's explained there. Ask me if you have questions.