Skip to content

Commit 5efbbc9

Browse files
Add session:error RTM event
1 parent 1898055 commit 5efbbc9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Crisp API Node wrapper. Authenticate, send messages, fetch conversations, ac
66

77
Copyright 2024 Crisp IM SAS. See LICENSE for copying information.
88

9-
* **📝 Implements**: [REST API Reference (V1)](https://docs.crisp.chat/references/rest-api/v1/) at revision: 17/10/2024
9+
* **📝 Implements**: [REST API Reference (V1)](https://docs.crisp.chat/references/rest-api/v1/) at revision: 27/01/2025
1010
* **😘 Maintainers**: [@baptistejamin](https://github.com/baptistejamin), [@eliottvincent](https://github.com/eliottvincent), [@valeriansaliou](https://github.com/valeriansaliou)
1111

1212
## Installation
@@ -3506,6 +3506,8 @@ Available events are listed below:
35063506
* `session:set_inbox`
35073507
* **Session Removed** [`user`, `plugin`]:
35083508
* `session:removed`
3509+
* **Session Error** [`user`, `plugin`]:
3510+
* `session:error`
35093511

35103512
* #### **Message Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#message-events)
35113513
* **Message Updated** [`user`, `plugin`]:

lib/crisp.js

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Crisp.DEFAULT_RTM_EVENTS = [
8181
"session:set_routing",
8282
"session:set_inbox",
8383
"session:removed",
84+
"session:error",
8485

8586
// Message Events
8687
"message:updated",

0 commit comments

Comments
 (0)