Mutation
sendMessage
Send a message to a session. If prevMessageID is "", return all messages in the session. If prevMessageID is not "", return all messages after prevMessageID.
Permissions needed
select (sessions):
- id
- session_id update (sessions):
- update_at
Arguments
sessionID
String!
requiredSession to send the message to
message
String!
requiredMessage to send
prevMessageID
String!
requiredOnly return messages after this message ID
Response
Type: MessageResponse!
sessionID
String!
ID of the session
messages
[Message!]!
Messages in this session