Mention Class

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

Implements

public class Mention
implements EntitySerialization

Mention information (entity type: "mention").

Constructor Summary

Constructor Description
Mention()

Mention of type "mention".

Method Summary

Modifier and Type Method and Description
ChannelAccount getMentioned()

Get the mentioned value.

java.lang.String getText()

Get the text value.

java.lang.String getType()

Get the type value.

void setMentioned(ChannelAccount withMentioned)

Set the mentioned value.

void setText(String withText)

Set the text 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

Mention

public Mention()

Mention of type "mention".

Method Details

getMentioned

public ChannelAccount getMentioned()

Get the mentioned value.

Returns:

the mentioned value

getText

public String getText()

Get the text value.

Returns:

the text value

getType

public String getType()

Get the type value.

Returns:

the type value

setMentioned

public void setMentioned(ChannelAccount withMentioned)

Set the mentioned value.

Parameters:

withMentioned - the mentioned value to set

setText

public void setText(String withText)

Set the text value.

Parameters:

withText - the text value to set

Applies to