Chat Is Typing
This request is called when the user is typing a new chat message for this session.
This activates the chat typing event.
Send this event every 10 seconds (if the user is still typing after 10 seconds offcourse). The receiving client should show the is typing message for 15 seconds.
If another is typing event is received in the meantime, the is typing message timer should be resetted and starting the 15 seconds again.
This will make sure the is typing event is not removed when the other party is still typing the message.
The notification event is implemented through websockets.
Resource
POST /chats/<OID>/is_typing
Where OID
is the object ID of the chat session.
Parameters
None
Payload
None
Response
None
Context
Authorization |
User |
Errors
Example
Request
POST https://xelion.nl/api/v1/master/chats/1588675/is_typing