Skip to main content

send_message

Function send_message 

Source
async fn send_message(
    pool: Data<PgPool>,
    params: Path<(Uuid, Uuid)>,
    user: Option<AuthUser>,
    app_conf: Data<ApplicationConfiguration>,
    payload: Json<SendChatbotMessage>,
    req: HttpRequest,
) -> ControllerResult<HttpResponse>
Expand description

POST /api/v0/course-material/chatbot/:chatbot_configuration_id/conversations/:conversation_id/send-message

Sends a new chat message to the chatbot.