diff options
author | Joas Schilling <coding@schilljs.com> | 2024-02-21 15:09:15 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-02-23 14:33:07 +0100 |
commit | 61a9a2170899fcd643c1615b7f6d6d4a2a867df6 (patch) | |
tree | 95f26b6428615b24eaea7755c794ea79e95a8a49 /lib/ResponseDefinitions.php | |
parent | 821f6001ba1f3e2d8f6fd3b4df3833b944268b75 (diff) |
feat(federation): Add endpoint to get (remote) capabilities of a conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/ResponseDefinitions.php')
-rw-r--r-- | lib/ResponseDefinitions.php | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/lib/ResponseDefinitions.php b/lib/ResponseDefinitions.php index 9c553add2..de7825fd8 100644 --- a/lib/ResponseDefinitions.php +++ b/lib/ResponseDefinitions.php @@ -265,6 +265,45 @@ namespace OCA\Talk; * turnservers: array{urls: string[], username: string, credential: mixed}[], * userId: ?string, * } + * + * @psalm-type TalkCapabilities = array{ + * features: string[], + * config: array{ + * attachments: array{ + * allowed: bool, + * folder?: string, + * }, + * call: array{ + * enabled: bool, + * breakout-rooms: bool, + * recording: bool, + * recording-consent: int, + * supported-reactions: string[], + * predefined-backgrounds: string[], + * can-upload-background: bool, + * sip-enabled: bool, + * sip-dialout-enabled: bool, + * can-enable-sip: bool, + * }, + * chat: array{ + * max-length: int, + * read-privacy: int, + * has-translation-providers: bool, + * typing-privacy: int, + * }, + * conversations: array{ + * can-create: bool, + * }, + * previews: array{ + * max-gif-size: int, + * }, + * signaling: array{ + * session-ping-limit: int, + * hello-v2-token-key?: string, + * }, + * }, + * version: string, + * } */ class ResponseDefinitions { } |