You can choose between two types of chatbots. The main differences are described in the following table:
|Chatbot||Sending a message||Receiving a message||Sending activities|
|Chatbot API||API endpoint||Custom webhook||API endpoint|
|Microsoft Bot Frameowrk||Direct Line WebSocket||Direct Line WebSocket||ChannelData|
Chatbot API allows the connection of any chatbot. The connection is done by registering a webhook to which events are sent. Chatbot is added by inserting your webhook to sent events in the Settings/Chatbots section.
Most activities are common to both types of chatbots. Chatbot API differs only in the need to specify SessionId in the activity.
This section contains tutorials for specific scenarios that you may encounter during implementation.