TokenExchangeState Class
- java.
lang. Object - com.
microsoft. bot. schema. TokenExchangeState
- com.
public class TokenExchangeState
State object passed to the bot token service.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| TokenExchangeState() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getBotUrl()
The URL of the bot messaging endpoint. |
| java.lang.String |
getConnectionName()
The connection name that was used. |
|
Conversation |
getConversation()
A reference to the conversation. |
| java.lang.String |
getMsAppId()
The bot's registered application ID. |
|
Conversation |
getRelatesTo()
Gets the reference to a related parent conversation for this token exchange. |
| void |
setBotUrl(String withBotUrl)
The URL of the bot messaging endpoint. |
| void |
setConnectionName(String withConnectionName)
The connection name that was used. |
| void |
setConversation(ConversationReference withConversation)
A reference to the conversation. |
| void |
setMsAppId(String withMsAppId)
The bot's registered application ID. |
| void |
setRelatesTo(ConversationReference withRelatesTo)
Sets the reference to a related parent conversation for this token exchange. |
Methods inherited from java.lang.Object
Constructor Details
TokenExchangeState
public TokenExchangeState()
Method Details
getBotUrl
public String getBotUrl()
The URL of the bot messaging endpoint.
Returns:
getConnectionName
public String getConnectionName()
The connection name that was used.
Returns:
getConversation
public ConversationReference getConversation()
A reference to the conversation.
Returns:
getMsAppId
public String getMsAppId()
The bot's registered application ID.
Returns:
getRelatesTo
public ConversationReference getRelatesTo()
Gets the reference to a related parent conversation for this token exchange.
Returns:
setBotUrl
public void setBotUrl(String withBotUrl)
The URL of the bot messaging endpoint.
Parameters:
setConnectionName
public void setConnectionName(String withConnectionName)
The connection name that was used.
Parameters:
setConversation
public void setConversation(ConversationReference withConversation)
A reference to the conversation.
Parameters:
setMsAppId
public void setMsAppId(String withMsAppId)
The bot's registered application ID.
Parameters:
setRelatesTo
public void setRelatesTo(ConversationReference withRelatesTo)
Sets the reference to a related parent conversation for this token exchange.
Parameters: