Typing notification from rainbow user to web API
From the WEB API is possible to send typing notification to the ranbow user with the IM service with the methods:
-sendIsTypingStateInBubble(bubble, status)
-sendIsTypingStateInConversation(conversation, status)
but is not possible to receive the typing notification the other way around.
-
Hi Matteo,
You need to do the following things in order to catch the typing status:
1/ You need to subscribe to the event https://hub.openrainbow.com/#/documentation/doc/sdk/web/api/im#event_RAINBOW_ONNEWPARTICIPANTSTATUS
You will receive an event each time a participant status changes (ie: someone starts writing...)
2/ You can only receive these notifications on opened conversations. Opening a conversation can be done using the method https://hub.openrainbow.com/#/documentation/doc/sdk/web/api/conversations#module_Conversations.openConversationForContact
Hope this will help,
Regards,
Olivier
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar