defmodule MangoWeb.BotChannel do | |
use MangoWeb, :channel | |
def join("pos", payload, socket) do | |
welcome_text = "Hello! Welcome to Mango Point of Sale" | |
{:ok, %{message: welcome_text}, socket} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment