Skip to content

Commit

Permalink
Update Documentation.md (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
andywang219 authored Jan 31, 2025
1 parent 89d90a1 commit 7aba574
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1495,11 +1495,13 @@ Optional success and failure callbacks can be provided to determine if the opera
```js
// endpoint: Endpoint Object
contact.addParticipant(endpoint, {
success: function () {
/* ... */
},
failure: function (err) {
/* ... */
callback: {
success: function () {
/* ... */
},
failure: function (err) {
/* ... */
},
},
});
```
Expand All @@ -1515,11 +1517,13 @@ This API is **only** supported in **Voice** and **Chat**. Will return an error i
```js
// endpoint: Endpoint Object
contact.transfer(endpoint, {
success: function () {
/* ... */
},
failure: function (err) {
/* ... */
callback: {
success: function () {
/* ... */
},
failure: function (err) {
/* ... */
},
},
});
```
Expand Down

0 comments on commit 7aba574

Please sign in to comment.