When a user starts typing on the chat, show that update to the other user(s) that are online in the chatroom.
This can be done by sending a message down the chatSocket.js object and echoing it out on the other end. Since each message sent through chatSocket object has an associated message_type string, this can be used to filter what type of message is being sent to the channels consumer for it to process and echo it back into the channel layer.
When a user starts typing on the chat, show that update to the other user(s) that are online in the chatroom.
This can be done by sending a message down the chatSocket.js object and echoing it out on the other end. Since each message sent through chatSocket object has an associated
message_type
string, this can be used to filter what type of message is being sent to the channels consumer for it to process and echo it back into the channel layer.