On Chat Start
The on_chat_start decorator is used to define a hook that is called when a new chat session is created.On Message
The on_message decorator is used to define a hook that is called when a new message is received from the user.On Stop
Theon_stop
decorator is used to define a hook that is called when the user clicks the stop button while a task was running.