change message to ownerId

This commit is contained in:
Aslan 2026-01-11 07:52:34 -05:00
parent c6d7d11aa1
commit 473fbab4b0

View file

@ -12,7 +12,7 @@ Returns a message with id = {id}
"text": "string", "text": "string",
"editHistory": "string[]", "editHistory": "string[]",
"edited": "boolean", "edited": "boolean",
"userId": "string", "ownerId": "string",
"channelId": "string", "channelId": "string",
"creationDate": "number" "creationDate": "number"
} }
@ -41,7 +41,7 @@ Creates a new message and returns it
"text": "string", "text": "string",
"editHistory": "string[]", "editHistory": "string[]",
"edited": "boolean", "edited": "boolean",
"userId": "string", "ownerId": "string",
"channelId": "string", "channelId": "string",
"creationDate": "number" "creationDate": "number"
} }
@ -69,7 +69,7 @@ Updates a message with id = {id}
"text": "string", "text": "string",
"editHistory": "string[]", "editHistory": "string[]",
"edited": "boolean", "edited": "boolean",
"userId": "string", "ownerId": "string",
"channelId": "string", "channelId": "string",
"creationDate": "number" "creationDate": "number"
} }
@ -86,7 +86,7 @@ Removes a message with id = {id}
```json ```json
{ {
"id": "string", "id": "string",
"userId": "string", "ownerId": "string",
"channelId": "string" "channelId": "string"
} }
``` ```