<p>Chatbot submits posts to a chat using REST API, and receives replies and user commands via the <a href="https://training.bitrix24.com/rest_help/rest_sum/events.php">REST API Events</a> (POST requests).</p> <p>The following figure shows a typical chatbot's lifecycle: </p> <p><img src="/images/chat_bot_en/new/bot_life1.png" /></p> <br><br>