MessagingExtensionQuery Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. MessagingExtensionQuery
- com.
public class MessagingExtensionQuery
Messaging extension query.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| MessagingExtensionQuery() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getCommandId()
Gets id of the command assigned by Bot. |
|
java.util.List<Messaging |
getParameters()
Gets parameters for the query. |
|
Messaging |
getQueryOptions()
Gets the query options. |
| java.lang.String |
getState()
Gets state parameter passed back to the bot after authentication/configuration flow. |
| void |
setCommandId(String withCommandId)
Sets id of the command assigned by Bot. |
| void |
setParameters(List<MessagingExtensionParameter> withParameters)
Sets parameters for the query. |
| void |
setQueryOptions(MessagingExtensionQueryOptions withQueryOptions)
Sets the query options. |
| void |
setState(String withState)
Sets state parameter passed back to the bot after authentication/configuration flow. |
Methods inherited from java.lang.Object
Constructor Details
MessagingExtensionQuery
public MessagingExtensionQuery()
Method Details
getCommandId
public String getCommandId()
Gets id of the command assigned by Bot.
Returns:
getParameters
public List
Gets parameters for the query.
Returns:
getQueryOptions
public MessagingExtensionQueryOptions getQueryOptions()
Gets the query options.
Returns:
getState
public String getState()
Gets state parameter passed back to the bot after authentication/configuration flow.
Returns:
setCommandId
public void setCommandId(String withCommandId)
Sets id of the command assigned by Bot.
Parameters:
setParameters
public void setParameters(List
Sets parameters for the query.
Parameters:
setQueryOptions
public void setQueryOptions(MessagingExtensionQueryOptions withQueryOptions)
Sets the query options.
Parameters:
setState
public void setState(String withState)
Sets state parameter passed back to the bot after authentication/configuration flow.
Parameters: