# regarding channels and chat functionality in app

**URL:** <https://forum.djangoproject.com/t/regarding-channels-and-chat-functionality-in-app/37682>\
**Category:** Async/Channels\
**Created:** [January 4, 2025, 10:11am UTC](https://forum.djangoproject.com/t/regarding-channels-and-chat-functionality-in-app/37682 "2025-01-04T10:11:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![engineeringLearner](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/engineeringlearner/32/26089_2.png) [@engineeringLearner](https://forum.djangoproject.com/u/engineeringLearner)\
**Post date:** [January 4, 2025, 10:11am UTC](https://forum.djangoproject.com/t/regarding-channels-and-chat-functionality-in-app/37682/1 "2025-01-04T10:11:18Z")

</div>

So i am creating a sort of roomate finder application with the help of rest framework and django primarily handling backend on my part, so i wish to implement chat functionality between matched users for which i have already created the match model, with user\_1 to user\_2 infering which send request to whom (user\_1 sents request to user\_2) and matched boolean field to authenticate if they are matched,kindly assist me in following things:

implement chat functionality in chat app using channels  
only authenticated and matched user can chat for which i have created the match model in matches app, attachments need to be sent as well and saved to the database of message model

which is listed as:  
sent\_from,sent\_to,msg\_text,attachments(Imagefield)

please walk me through the process.
