Created
September 12, 2018 02:11
-
-
Save akhalsa/7882399f731cc55ed1d190c4c078df79 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query getConversationMessages($conversationId: ID!, $after: String, $first: Int) { | |
allMessageConnection(conversationId: $conversationId, after: $after, first: $first) { | |
__typename | |
nextToken, | |
messages { | |
__typename | |
id | |
conversationId | |
content | |
createdAt | |
sender | |
isSent | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment