API reference
API reference
Select your platform
No SDKs available
No versions available

WitMessageVRequest Class

Extends WitVRequest

Member Functions

Constructor for wit based message VRequests
Parameters
configuration
The configuration interface to be used
requestId
A unique identifier that can be used to track the request
onDownloadProgress
The callback for progress related to downloading
onFirstResponse
The callback for the first response of data from a request
Voice message request
Parameters
text
Text to be sent to message endpoint
queryParams
Parameters to be sent to the endpoint
onComplete
The callback delegate on request completion
Returns
False if the request cannot be performed
Voice message request
Parameters
endpoint
Endpoint to be used for possible overrides
post
Will perform a POST if true, will perform a GET otherwise
text
Text to be sent to message endpoint
queryParams
Parameters to be sent to the endpoint
onComplete
The callback delegate on request completion
Returns
False if the request cannot be performed
Did you find this page helpful?
Thumbs up icon
Thumbs down icon