Skip to content

Commit 7387dfc

Browse files
committed
update README.md
1 parent 6a4111d commit 7387dfc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Rich message is a special message that holds custom content. You can distinguish
162162

163163
## Confirm end of chat
164164

165-
Confirm end of chat message is initiated from the agent to inquire closure of ticket. The message has 3 states which are `WAITING`, `CONFIRMED`, `DECLIEND`. When agent sends confirm end of chat message, its state is set to `WAITING`. Customer can answer to the inquiry as `YES` or `NO` which leads to `CONFIRMED` state and `DECLINED` state accordingly. You can check the state by looking `message.data`. The format looks like below:
165+
Confirm end of chat message is initiated from the agent to inquire closure of ticket. The message has 3 states which are `WAITING`, `CONFIRMED`, `DECLINED`. When agent sends confirm end of chat message, its state is set to `WAITING`. Customer can answer to the inquiry as `YES` or `NO` which leads to `CONFIRMED` state and `DECLINED` state accordingly. You can check the state by looking `message.data`. The format looks like below:
166166

167167
```js
168168
{
@@ -190,8 +190,8 @@ channelHandler.onMessageUpdated = (channel, message) => {
190190
case SendBirdDesk.Message.ClosureState.CONFIRMED:
191191
// do something on CONFIRMED
192192
break;
193-
case SendBirdDesk.Message.ClosureState.DECLIND:
194-
// do something on DECLIND
193+
case SendBirdDesk.Message.ClosureState.DECLINED:
194+
// do something on DECLINED
195195
break;
196196
}
197197
}

0 commit comments

Comments
 (0)