Response function ( BotState arg0 ) { if ( arg0 . equals ( BotState . RUNNING ) ) { botService . start ( ) ; } else if ( arg0 . equals ( BotState . NOT_RUNNING ) ) { botService . stop ( ) ; } else if ( arg0 . equals ( BotState . RESET ) ) { botService . deleteAll ( ) ; } return Response . noContent ( ) . build ( ) ; }
updates the state of the bot with the provided state . this may trigger the bot to start itself , stop itself , or stop and delete all existing bookings . concode_field_sep BotService botService concode_field_sep Response getBotStatus concode_elem_sep List<String> getMessages