summaryrefslogtreecommitdiffstats
path: root/docs/participant.md
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-10-07 09:37:27 +0200
committerJoas Schilling <coding@schilljs.com>2021-10-07 18:18:32 +0200
commit007ba46d05b0ac74e286069ada3487fbb05f3f4d (patch)
tree66c1bf03e41c9680fc9bfe7096a8d28b9c721613 /docs/participant.md
parent916906c3d58c1714a5b500fb6177a7554ca17369 (diff)
Doc fixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs/participant.md')
-rw-r--r--docs/participant.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/participant.md b/docs/participant.md
index 7064a17eb..544a47fe2 100644
--- a/docs/participant.md
+++ b/docs/participant.md
@@ -200,8 +200,8 @@
field | type | Description
---|---|---
`attendeeId` | int | Attendee id can be used for guests and users
- `mode` | string | Mode of how permissions should be manipulated [constants list](constants.md#attendee-permission-modifications). If the permissions were `Default` and the modification is `add` or `remove`, they will be initialised with the call or default conversation permissions before, falling back to 126 for moderators and 118 for normal participants.
- `permissions` | int | New permissions for the attendee, see [constants list](constants.md#attendee-permissions). If permissions are not `Default`, the `Custom` permission will always be added.
+ `mode` | string | Mode of how permissions should be manipulated [constants list](constants.md#attendee-permission-modifications). If the permissions were `0` (default) and the modification is `add` or `remove`, they will be initialised with the call or default conversation permissions before, falling back to `126` for moderators and `118` for normal participants.
+ `permissions` | int | New permissions for the attendee, see [constants list](constants.md#attendee-permissions). If permissions are not `0` (default), the `1` (custom) permission will always be added.
* Response:
- Status code:
@@ -221,8 +221,8 @@
field | type | Description
---|---|---
- `mode` | string | Mode of how permissions should be manipulated [constants list](constants.md#attendee-permission-modifications). If the permissions were `Default` and the modification is `add` or `remove`, they will be initialised with the call or default conversation permissions before, falling back to 126 for moderators and 118 for normal participants.
- `permissions` | int | New permissions for the attendees, see [constants list](constants.md#attendee-permissions). If permissions are not `Default`, the `Custom` permission will always be added.
+ `mode` | string | Mode of how permissions should be manipulated [constants list](constants.md#attendee-permission-modifications). If the permissions were `0` (default) and the modification is `add` or `remove`, they will be initialised with the call or default conversation permissions before, falling back to `126` for moderators and `118` for normal participants.
+ `permissions` | int | New permissions for the attendees, see [constants list](constants.md#attendee-permissions). If permissions are not `0` (default), the `1` (custom) permission will always be added.
* Response:
- Status code: