Direxion v0.1.3 Client.Custom View Source
A Microsoft Directline Client
Link to this section Summary
Functions
Get the authorization token for bots request
Send an activity through our response handler the response is the Directline reponse
Send an activity to a conversation and return its the Directline reponse
Receive the response from a bot response service
Send an activity to a bot
Link to this section Functions
Get the authorization token for bots request
Returns a tuple containing the status of request and the conversation ID
Send an activity through our response handler the response is the Directline reponse.
Parameters:
- input_token - Directline Token to be used, Will be overridden by
DIRECTLINE_TOKEN
in path if found - activity - The activity to send
Returns a Directline Response
Send an activity to a conversation and return its the Directline reponse.
Parameters:
- access_token - Microsoft Bot framework access token
- activity - The activity to send
Returns the bot Response
Receive the response from a bot response service.
Parameters:
- activity_id - The Activity ID we want reponse to
Returns a Response object.
Send an activity to a bot
Parameters:
- access_token - Microsoft bot authorization token
- activity - The activity we want reponse to send
Returns the assigned activity id.