MessagingExtensionQuery Class

  • java.lang.Object
    • com.microsoft.bot.schema.teams.MessagingExtensionQuery

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<MessagingExtensionParameter> getParameters()

Gets parameters for the query.

MessagingExtensionQueryOptions 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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MessagingExtensionQuery

public MessagingExtensionQuery()

Method Details

getCommandId

public String getCommandId()

Gets id of the command assigned by Bot.

Returns:

The command id.

getParameters

public List getParameters()

Gets parameters for the query.

Returns:

The query parameters.

getQueryOptions

public MessagingExtensionQueryOptions getQueryOptions()

Gets the query options.

Returns:

The query options.

getState

public String getState()

Gets state parameter passed back to the bot after authentication/configuration flow.

Returns:

The state parameter.

setCommandId

public void setCommandId(String withCommandId)

Sets id of the command assigned by Bot.

Parameters:

withCommandId - The command id.

setParameters

public void setParameters(List withParameters)

Sets parameters for the query.

Parameters:

withParameters - The query parameters.

setQueryOptions

public void setQueryOptions(MessagingExtensionQueryOptions withQueryOptions)

Sets the query options.

Parameters:

withQueryOptions - The query options.

setState

public void setState(String withState)

Sets state parameter passed back to the bot after authentication/configuration flow.

Parameters:

withState - The state parameter.

Applies to