Bosh

I want to send a message to openfire to display in a specific chat. I want to be able to click on a HTTP link and put a canned message into a specific chat. Can somebody lead me in the right direction; would I need to use BOSH in order to do this.