ex_microsoftbot v0.1.0 ExMicrosoftBot.Client
Use the Microsoft bot framework to create bots for multiple different platforms. This client provides API to use the Microsoft bot framework.
Summary
Functions
Get the bot data for conversation. API Reference
Get the bot data for a user in conversation. API Reference
Get a BotData record for the user. API Reference
This functions allows you to initiate a new conversation message with a user. API Reference
Update the bot conversation data. API Reference
Update the bot user in a conversation data. API Reference
Update the bot user data. API Reference
Helper function to validate the authentication information for the bot
Types
bot_data_type :: {:ok, ExMicrosoftBot.Models.BotData.t}
error_type :: {:error, integer, String.t}
Functions
Specs
get_conversation_data(ExMicrosoftBot.Models.AuthData.t, String.t, String.t) ::
bot_data_type |
error_type
Get the bot data for conversation. API Reference
Specs
get_per_user_conversation_data(ExMicrosoftBot.Models.AuthData.t, String.t, String.t, String.t) ::
bot_data_type |
error_type
Get the bot data for a user in conversation. API Reference
Specs
get_user_data(ExMicrosoftBot.Models.AuthData.t, String.t, String.t) ::
bot_data_type |
error_type
Get a BotData record for the user. API Reference
Specs
send_message(ExMicrosoftBot.Models.AuthData.t, map) ::
{:ok, ExMicrosoftBot.Models.Message.t} |
error_type
This functions allows you to initiate a new conversation message with a user. API Reference
Specs
set_conversation_data(ExMicrosoftBot.Models.AuthData.t, String.t, String.t, map) ::
bot_data_type |
error_type
Update the bot conversation data. API Reference
Specs
set_per_user_conversation_data(ExMicrosoftBot.Models.AuthData.t, String.t, String.t, String.t, map) ::
bot_data_type |
error_type
Update the bot user in a conversation data. API Reference
Specs
set_user_data(ExMicrosoftBot.Models.AuthData.t, String.t, String.t, map) ::
bot_data_type |
error_type
Update the bot user data. API Reference
Specs
validate_bot_credentials(ExMicrosoftBot.Models.AuthData.t, Keyword.t) :: boolean
Helper function to validate the authentication information for the bot