public class MessagePostEndpoint extends AbstractWWGraphQLEndpoint
| Constructor and Description |
|---|
MessagePostEndpoint(WWClient client) |
| Modifier and Type | Method and Description |
|---|---|
MessageResponse |
postMessage(AppMessage message,
String spaceId)
String posts the passed message to the passed Space
|
executeRequest, getClient, getProfileDump, getRequest, getResultContainer, getResultContent, parseResultContainer, setProfileDump, setRequest, setResultContainer, setResultContentpublic MessagePostEndpoint(WWClient client)
client - WWClient containing authentication details and tokenpublic MessageResponse postMessage(AppMessage message, String spaceId) throws WWException
message - AppMessage message to postspaceId - String id of the space to post toWWException - containing an error message, if the request was unsuccessfulCopyright © 2017 OpenNTF. All rights reserved.