I’m not quite sure if it really helps you, but there is quantum available at hex.pm, perhaps it may help you.
A quick and dirty solution which comes to my mind using it, were to have a function which connects to the channel, sends the message and leaves the channel again.
A much saner way, were to start a GenServer (or similar) with your app, which does connect to the channel and gets a message from quantum and on this message it gets translated into the channel message and then send. But I’m not quite sure, how GenServer-messages and Channel-messages behave alltogether.


















