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

WitMessageVRequest Class

Extends Meta.WitAi.Requests.WitVRequest
Class used to perform message requests

Constructors

WitMessageVRequest ( configuration , requestId )
Constructor that takes in configuration and request id
Signature
Meta.WitAi.Requests.WitMessageVRequest.WitMessageVRequest(IWitRequestConfiguration configuration, string requestId)
Parameters
requestId: string

Methods

MessageRequest ( endpoint , post , text , urlParameters , onPartial )
Voice message request
Signature
Task<VRequestResponse<string> > Meta.WitAi.Requests.WitMessageVRequest.MessageRequest(string endpoint, bool post, string text, Dictionary< string, string > urlParameters, Action< string > onPartial=null)
Parameters
endpoint: string  Endpoint to be used for possible overrides
post: bool  Will perform a POST if true, will perform a GET otherwise
text: string  Text to be sent to message endpoint
urlParameters: Dictionary< string, string >  Parameters to be sent to the endpoint
onPartial: Action< string >
Returns
Task< VRequestResponse< string > >