Typing indicator for Messaging
# support
c
Hi @rahul1 , As part of evolving our product we have come across a new feature that helps us provide a better user experience in our chat . We would like to provide a typing indicator on our app to let the other party know someone is trying in the same chat window . Our plan is to use the communication resource itself , create a new communication resource with specific status type like 'preparation' when user taps on the input field and show the indicator on the other side and when user completes their input and sends the message update the communication resource so the indicator and removed (this is just an idea which we did not yet try out might have an problem that we are not aware at this moment ) . we would like to know if there is any better way to handle this!
b
hi @rahul1 - can you or someone on the team help with this query?
@rahul1
r
Hi @charithv - thanks for your patience. > Our plan is to use the communication resource itself , create a new communication resource with specific status type like 'preparation' when user taps on the input field and show the indicator on the other side and when user completes their input THis would be my suggestion too. I think either
preparation
or
in-progress
You can create a WebSocket subscription to all
Communication?status=preparation&part-of=<thread-header>
c
Thanks for the confirmation Rahul
177 Views