Skip to content

Commit

Permalink
574 StartChat: ChatInitSettings and ChatRoomRef
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrand-s committed Mar 8, 2022
1 parent fec33de commit 395b610
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/context/ref/ChatInitSettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const initSettings = {
}

const res = fdc3.raiseIntent('StartChat', initSettings);
const roomRef = await res.getResult();
const roomRefs = await res.getResult();
```

## See Also
Expand Down
2 changes: 1 addition & 1 deletion docs/context/ref/ChatRoomRef.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const newChat = await fdc3.raiseIntent('StartChat', {
}],
initMessage: "Hello Jane"
});
const roomRef = await newChat.getResult();
const roomRefs = await newChat.getResult();
```

## See Also
Expand Down
4 changes: 2 additions & 2 deletions docs/intents/ref/StartChat.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Initiate a chat with a contact, a list of contacts or detailed initialization se

## Result Context

* [ChatRoomRef](../../context/ref/ChatRoomRef)
* Array of [ChatRoomRef](../../context/ref/ChatRoomRef)
## Example

```js
Expand Down Expand Up @@ -66,7 +66,7 @@ const initSettings = {
}

const resolution = fdc3.raiseIntent('StartChat', initSettings);
const chatRoomRef = await resolution.getResult();
const chatRoomRefs = await resolution.getResult();
```

## See Also
Expand Down

0 comments on commit 395b610

Please sign in to comment.