<a href="http://github.com/syl20bnr/spacemacs"><img src="https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg" alt="Made with Spacemacs"></a>
Elixir Microsoft Bot Client
This library provides Elixir API wrapper for the Microsoft Bot Framework.
Documentation
API documentation is available at https://hexdocs.pm/ex_microsofbot
Installation
Add
ex_microsoftbotto your list of dependencies inmix.exs:def deps do
[{:ex_microsoftbot, "~> 0.1.0"}]end
Start the
ex_microsoftbot:def application do
[applications: [:ex_microsoftbot]]end
Usage
The module ExMicrosoftBot.Client contains the functions to call the Microsoft bot API. For example
auth_data = %ExMicrosoftBot.Models.AuthData{app_id: "APPID", app_secret: "APP_SECRET"}
bot_data = ExMicrosoftBot.Client.get_user_data(auth_data, bot_id, user_id)
%ExMicrosoftBot.Models.BotData{data: %{}, eTag: "string"}