track unread/read message status

This commit is contained in:
knst-kotov
2022-04-13 14:43:22 +03:00
parent b4ce848091
commit 5b4cc95e87
2 changed files with 55 additions and 1 deletions

View File

@@ -42,6 +42,8 @@ type Mutation {
createMessage(chatId: String!, body: String!, replyTo: Int): MessageResult!
updateMessage(chatId: String!, id: Int!, body: String!): MessageResult!
deleteMessage(chatId: String!, id: Int!): Result!
markAsRead(chatId: String!, ids: [Int]!): Result!
}
################################### Query