get all chat users
This commit is contained in:
@@ -243,6 +243,7 @@ type Query {
|
||||
loadChats( limit: Int, offset: Int): Result! # your chats
|
||||
loadMessagesBy(by: MessagesBy!, limit: Int, offset: Int): Result!
|
||||
searchUsers(query: String!, limit: Int, offset: Int): Result!
|
||||
chatUsersAll: [ChatUser]!
|
||||
|
||||
# auth
|
||||
isEmailUsed(email: String!): Boolean!
|
||||
@@ -348,6 +349,14 @@ type User {
|
||||
oid: String
|
||||
}
|
||||
|
||||
type ChatUser {
|
||||
id: Int!
|
||||
slug: String!
|
||||
name: String!
|
||||
userpic: String
|
||||
lastSeen: DateTime
|
||||
}
|
||||
|
||||
type Collab {
|
||||
authors: [String]!
|
||||
invites: [String]
|
||||
|
Reference in New Issue
Block a user