Feature: Typing Indicator on widget and dashboard (#811)
* Adds typing indicator for widget * typing indicator for agents in dashboard Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
parent
fabc3170b7
commit
5bc8219db5
36 changed files with 663 additions and 78 deletions
|
@ -33,6 +33,12 @@ class ConversationApi extends ApiClient {
|
|||
agent_last_seen_at: lastSeen,
|
||||
});
|
||||
}
|
||||
|
||||
toggleTyping({ conversationId, status }) {
|
||||
return axios.post(`${this.url}/${conversationId}/toggle_typing_status`, {
|
||||
typing_status: status,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export default new ConversationApi();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue