Update chat
POST
http://localhost:3000/graphqlMutation
mutation UpdateChatMessage($updateChatMessageId: Float!, $updateChatMessageInput: UpdateChatMessageInput!) {
updateChatMessage(id: $updateChatMessageId, updateChatMessageInput: $updateChatMessageInput) {
status
message
}
}
Varaibles
{
"updateChatMessageId": 1,
"updateChatMessageInput": {
"message": "no"
}
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"updateChatMessage": {
"status": "success",
"message": "Chat message updated successfully"
}
}
}
Last modified: 2 months ago