Fix typos

This commit is contained in:
Jimmy Debe 2025-08-28 20:43:06 -04:00 committed by GitHub
parent a959364467
commit 869d861d3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -124,7 +124,7 @@ The `admins` and `owner` MAY moderate certain published messages making some con
```js ```js
{ {
"ModerationMessage" : [ "ModerationMessage" : [
"hash": string, // The hash of the question "hash": string, // The hash of the QuestionMessage
"moderated": boolean "moderated": boolean
] ]
} }
@ -152,17 +152,16 @@ Also the `owner` can not retrict any `identity` from publishing a message.
#### Answered Message #### Answered Message
The `AnswerMessage` type is generated by clients publishing a answer to a question. The `AnswerMessage` type is generated by clients publishing a answer to a question.
Each `AnswerMessage` SHOULD have a parent `Questionmessage` type. Each `AnswerMessage` SHOULD have a parent `QuestionMessage` type.
```js ```js
{ {
"AnsweredMessage" : [ "AnsweredMessage" : [
questionId: string, // The parent QuestionMessage questionId: string, // The parent QuestionMessage
hash: string, // Hash of hash: string, // Hash of the text
text: string, text: string, // The answer content
timestamp: number, timestamp: number // The time of publishing the answer content
] ]
} }