from django.urls import re_path, path
from . import consumers

websocket_urlpatterns = [
    # path('ws/chat_api/<int:sender_id>/<int:receiver_id>', consumers.ChatConsumerAPI.as_asgi()),
    re_path(r'ws/chat/(?P<sender_id>\d+)/(?P<receiver_id>\d+)/$', consumers.ChatConsumer.as_asgi()),

]