Created
July 2, 2019 04:26
-
-
Save chibenwa/cd37204b834826bd884b7ce99a3cba9d 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
listThenGetMessages() { | |
const getMessageListCommandName = '#0'; | |
const body = new BodyBuilder() | |
.appendGetMessageList({}, getMessageListCommandName) | |
.appendGetMessages({ | |
"#ids": { | |
"resultOf": getMessageListCommandName, | |
"name": "getMessageList", | |
"path": "/messageIds" | |
} | |
}, '#1') | |
.getBody(); | |
return this._jmapRequestWithMultipleCommands(body); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment