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 a BotData record for the user. API Reference

This functions allows you to initiate a new conversation message with a user. API Reference

Helper function to validate the authentication information for the bot

Types

Functions

get_conversation_data(auth_data, bot_id, conversation_id)

Get the bot data for conversation. API Reference

get_per_user_conversation_data(auth_data, bot_id, conversation_id, user_id)

Specs

Get the bot data for a user in conversation. API Reference

get_user_data(auth_data, bot_id, user_id)

Get a BotData record for the user. API Reference

send_message(auth_data, message)

This functions allows you to initiate a new conversation message with a user. API Reference

set_conversation_data(auth_data, bot_id, conversation_id, data)

Update the bot conversation data. API Reference

set_per_user_conversation_data(auth_data, bot_id, conversation_id, user_id, data)

Specs

Update the bot user in a conversation data. API Reference

set_user_data(auth_data, bot_id, user_id, data)

Update the bot user data. API Reference

validate_bot_credentials(auth_data, headers)

Specs

validate_bot_credentials(ExMicrosoftBot.Models.AuthData.t, Keyword.t) :: boolean

Helper function to validate the authentication information for the bot