Packages

This library allows for easy creation of the web API that the Microsoft bot framework can connect to.

Current section

Files

Jump to
phoenix_microsoftbot lib microsoftbot_callback.ex
Raw

lib/microsoftbot_callback.ex

defmodule MicrosoftBot.Callback do
@moduledoc """
The module defines the callback required to handle the messages receieved
"""
@doc """
Callback to handle the messages received
"""
@callback message_received(Plug.Conn.t, ExMicrosoftBot.Models.Message.t) :: ExMicrosoftBot.Models.Message.t | Plug.Conn.t
end