ConversationParameters Class

  • java.lang.Object
    • com.microsoft.bot.schema.ConversationParameters

public class ConversationParameters

Parameters for creating a new conversation.

Constructor Summary

Constructor Description
ConversationParameters()

Method Summary

Modifier and Type Method and Description
Activity getActivity()

Get the Activity value.

ChannelAccount getBot()

Get the #bot value.

java.lang.Object getChannelData()

Get the #channelData value.

java.util.List<ChannelAccount> getMembers()

Get the #members value.

java.lang.String getTenantId()

Gets #tenantId.

java.lang.String getTopicName()

Get the #topicName value.

boolean isGroup()

Get the #isGroup value.

void setActivity(Activity withActivity)

Set the Activity value.

void setBot(ChannelAccount withBot)

Set the #bot value.

void setChannelData(Object withChannelData)

Set the #channelData value.

void setIsGroup(boolean withIsGroup)

Set the #isGroup value.

void setMembers(List<ChannelAccount> withMembers)

Set the #members value.

void setTenantId(String withTenantId)

Sets #tenantId value.

void setTopicName(String withTopicName)

Set the #topicName value.

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

ConversationParameters

public ConversationParameters()

Method Details

getActivity

public Activity getActivity()

Get the Activity value.

Returns:

The Activity value.

getBot

public ChannelAccount getBot()

Get the #bot value.

Returns:

The bot value.

getChannelData

public Object getChannelData()

Get the #channelData value.

Returns:

the channelData value.

getMembers

public List getMembers()

Get the #members value.

Returns:

The members value.

getTenantId

public String getTenantId()

Gets #tenantId.

Returns:

The tenantId value.

getTopicName

public String getTopicName()

Get the #topicName value.

Returns:

The topicname value.

isGroup

public boolean isGroup()

Get the #isGroup value.

Returns:

The isGroup value.

setActivity

public void setActivity(Activity withActivity)

Set the Activity value.

Parameters:

withActivity - the activity value to set.

setBot

public void setBot(ChannelAccount withBot)

Set the #bot value.

Parameters:

withBot - the bot value to set

setChannelData

public void setChannelData(Object withChannelData)

Set the #channelData value.

Parameters:

withChannelData - the channelData value to set

setIsGroup

public void setIsGroup(boolean withIsGroup)

Set the #isGroup value.

Parameters:

withIsGroup - the isGroup value to set

setMembers

public void setMembers(List withMembers)

Set the #members value.

Parameters:

withMembers - the members value to set

setTenantId

public void setTenantId(String withTenantId)

Sets #tenantId value.

Parameters:

withTenantId - The tenantId value to set.

setTopicName

public void setTopicName(String withTopicName)

Set the #topicName value.

Parameters:

withTopicName - the topicName value to set

Applies to