JetBrains Space
 

(Kotlin) How to Create a Chatbot

Last modified: 25 May 2023

What's a chatbot? It's a Space application that communicates with a Space user in its own Chats channel. A minimum viable bot must:

  • Respond with a list of available commands when a user types / (slash) in the channel.

  • Provide at least one command: After a user sends this command to the channel, the bot must do something and then respond with a message.

Great job! We have finished creating our simple bot. In the next tutorial we will learn how to add UI elements to chatbot messages.