Messages
Entity responsible for message operations
enum MESSAGE_SENT_BY {
ADMIN
CANDIDATE
}
type MessageAttachment {
id: String
name: String
resourcePath: String
type: String
size: Int
}
type Message {
id: String
candidateId: String
sentBy: MESSAGE_SENT_BY
userId: String
text: String
user: User
replyToMessageId: String
isRead: Boolean
attachments: [MessageAttachment]
}
input MessageFilterPaging {
filter: MessageFilter
paging: GraphPaging
sort: GraphSorting
}
input MessageFilter {
candidateId: String
contactId: String
listingId: String
}
type Query {
messages(input: MessageFilterPaging): [Message]
}
Last updated