mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-04-03 08:05:33 +00:00
22 lines
358 B
GraphQL
22 lines
358 B
GraphQL
mutation CreateMessage($roomId: ID, $userId: ID, $content: String, $files: [FileInput]) {
|
|
CreateMessage(roomId: $roomId, userId: $userId, content: $content, files: $files) {
|
|
id
|
|
content
|
|
senderId
|
|
username
|
|
avatar
|
|
date
|
|
room {
|
|
id
|
|
}
|
|
saved
|
|
distributed
|
|
seen
|
|
files {
|
|
url
|
|
name
|
|
type
|
|
}
|
|
}
|
|
}
|