from django.urls import path
from . import views

app_name = "chat"

urlpatterns = [
    path("", views.chat_home, name="home"),
    path("send/", views.chat_send, name="send"),
    path("new/", views.chat_new, name="new"),
    path("history/<uuid:conversation_id>/", views.chat_history, name="history"),
    path("conversations/", views.ConversationListView.as_view(), name="conversation-list"),
    path("message/<int:message_id>/feedback/", views.MessageFeedbackView.as_view(), name="message-feedback"),
]
