diff --git a/docs/api/message.md b/docs/api/message.md index 3aadfcb..23f9ffe 100644 --- a/docs/api/message.md +++ b/docs/api/message.md @@ -12,7 +12,7 @@ Returns a message with id = {id} "text": "string", "editHistory": "string[]", "edited": "boolean", - "userId": "string", + "ownerId": "string", "channelId": "string", "creationDate": "number" } @@ -41,7 +41,7 @@ Creates a new message and returns it "text": "string", "editHistory": "string[]", "edited": "boolean", - "userId": "string", + "ownerId": "string", "channelId": "string", "creationDate": "number" } @@ -69,7 +69,7 @@ Updates a message with id = {id} "text": "string", "editHistory": "string[]", "edited": "boolean", - "userId": "string", + "ownerId": "string", "channelId": "string", "creationDate": "number" } @@ -86,7 +86,7 @@ Removes a message with id = {id} ```json { "id": "string", - "userId": "string", + "ownerId": "string", "channelId": "string" } ```