Diagram
Diagram is the canvas showing the transition between user states.
A user state defines the behavior of your bot. When a user have not yet interacted with the bot - it's in the Init state. This state is predefined for you and the only available trigger is command /start
.
It’s recommended to always create a separate state with meaningful name for the logic of your bot and apply a single action of transition to your state on /start
command of the Init state.
You can rename and remove states in the panel on the left. It's impossible to remove or rename the Init state.