diff options
Diffstat (limited to 'matrix-specification/Responses/ClientKeysUploadPostResponse.php')
| -rw-r--r-- | matrix-specification/Responses/ClientKeysUploadPostResponse.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/matrix-specification/Responses/ClientKeysUploadPostResponse.php b/matrix-specification/Responses/ClientKeysUploadPostResponse.php index ff81734..3d335e4 100644 --- a/matrix-specification/Responses/ClientKeysUploadPostResponse.php +++ b/matrix-specification/Responses/ClientKeysUploadPostResponse.php @@ -2,7 +2,12 @@ namespace Matrix\Responses; -class ClientKeysUploadPostResponse implements \JsonSerializable +use Matrix\Response; + +/** + * @see https://spec.matrix.org/v1.16/client-server-api/#post_matrixclientv3keysupload + */ +class ClientKeysUploadPostResponse extends Response { /** * @param array<string, integer> $oneTimeKeyCounts @@ -12,7 +17,7 @@ class ClientKeysUploadPostResponse implements \JsonSerializable ) {} - public function jsonSerialize(): array + public function getBody(): array { return [ "one_time_keys_counts" => $this->oneTimeKeyCounts, |
