-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6accbc1
commit 10f1e44
Showing
5 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
id: CreateInteraction | ||
sidebar_label: CreateInteraction | ||
title: CreateInteraction | ||
hide_title: true | ||
--- | ||
# `CreateInteraction` | ||
|
||
Create an interaction with a list of contacts. | ||
|
||
## Intent Name | ||
|
||
`CreateInteraction` | ||
|
||
## Display Name | ||
|
||
`Create Interaction` | ||
|
||
## Possible Contexts | ||
|
||
* [ContactList](../../context/ref/ContactList) | ||
|
||
## Example | ||
|
||
```js | ||
const interaction = { | ||
type: 'fdc3.interaction', | ||
contacts: { | ||
type: 'fdc3.contactList', | ||
contacts: [ | ||
{ | ||
type: 'fdc3.contact', | ||
name: 'Jane Doe', | ||
id: { | ||
email: 'jane.doe@mail.com' | ||
} | ||
}, | ||
{ | ||
type: 'fdc3.contact', | ||
name: 'John Doe', | ||
id: { | ||
email: 'john.doe@mail.com' | ||
} | ||
}, | ||
] | ||
}, | ||
interactionType: 'Instant Message', | ||
timeRange: { | ||
type: 'fdc3.timeRange', | ||
startTime: '2022-02-10T15:12:00Z' | ||
}, | ||
description: 'Laboris libero dapibus fames elit adipisicing eu, fermentum, dignissimos laboriosam, erat, risus qui deserunt. Praesentium! Reiciendis. Hic harum nostrud, harum potenti amet? Mauris. Pretium aliquid animi, eget eiusmod integer proident. Architecto ipsum blandit ducimus, possimus illum sunt illum necessitatibus ab litora sed, nonummy integer minus corrupti ducimus iste senectus accumsan, fugiat nostrud? Pede vero dictumst excepturi, iure earum consequuntur voluptatum', | ||
initiator: { | ||
type: 'fdc3.contact', | ||
name: 'Jane Doe', | ||
id: { | ||
email: 'jane.doe@mail.com' | ||
} | ||
}, | ||
source: 'Outlook' | ||
} | ||
|
||
fdc3.raiseIntent('CreateInteraction', interaction) | ||
``` | ||
|
||
## See Also | ||
|
||
Context | ||
- [Contact](../../context/ref/Contact) | ||
- [ContactList](../../context/ref/ContactList) | ||
- [TimeRange](../../context/ref/TimeRange) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters