diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-03-13 13:43:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 13:43:39 +0100 |
commit | 37f6f927e68f1fbfd8be40bed0e6aa89dbe22fef (patch) | |
tree | 0d3e025d6d7146a6d7d70752e943a19be47dffb7 | |
parent | 3ae964b836369e083d906227e2981aa7e8100a04 (diff) | |
parent | 10d79cb5ac8249dd93ddd1e978863b9d82405a96 (diff) |
Merge pull request #11791 from nextcloud/bugfix/noid/explain-mentionId-vs-id
fix(docs): Explain mentionId vs id on autocomplete endpoint
-rw-r--r-- | docs/chat.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/chat.md b/docs/chat.md index 4a02511cf..7280253e7 100644 --- a/docs/chat.md +++ b/docs/chat.md @@ -491,7 +491,7 @@ See [OCP\RichObjectStrings\Definitions](https://github.com/nextcloud/server/blob | field | type | Description | |-----------------|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `mentionId` | string | Optional: Only available with `federation-v1` capability - the identifier which should be sent as `@<id>` in the message (ids that contain spaces or slashes need to be wrapped in double-quotes when sending in a message: `@"space user"` and `@"guest/random-string"`) | -| `id` | string | The id of the participant to mention | +| `id` | string | The id of the participant to mention. Note: while this should not be inserted into the message field when `mentionId` is present, it still has to be used to load e.g. avatar and user status of users that are from the same proxy server. | | `label` | string | The display name of the mention option | | `source` | string | The type of the mention option, currently only `users`, `federated_users`, `group`, `guests` or `calls` (for mentioning the whole conversation) | | `status` | string | Optional: Only available with `includeStatus=true` and for users with a set status | |