Skip to content

Developing bots with Tock

Tock Studio allows you to build conversational paths (or stories) including text, buttons, images, carousels, etc. To go further, it is possible to program paths in Kotlin, Javascript, Python or other languages.

logo kotlin

logo nodejs

logo python

logo rest-api

Two modes / frameworks / architectures are proposed:

The Bot API mode

The Tock Bot API mode (recommended for most cases) allows you to develop in Kotlin or other languages ​​with the clients provided for Javascript/Nodejs and Python or any language using the Tock API:

BOT API

This mode is the only one available on the Tock demo platform. It is also the only mode that allows you to develop in any programming language, via the API.

For more information, see the Bot API page.

The Integrated Bot mode

In this mode, you can access all the features and possibilities of the Tock framework to develop a bot.

This is the historical development mode of Tock, and currently most of the bots published by Tock designers. are developed in this way.

Setting up the solution is more complex than the Bot API mode and requires in particular that the bot component accesses the MongoDB database directly. It is therefore necessary to use this mode:

  • To install a platform (usually with Docker) on your workstation or on a server
  • To share the connection to the MongoDB database between the development workstations and the other components of the Tock platform used
  • To master the programming language Kotlin

Bot TOCK

For more information, see the page Bot intégré.

Chat with Tock
×