MessageReaction Class

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

public class MessageReaction

Message reaction object.

Constructor Summary

Constructor Description
MessageReaction()

Empty MessageReaction.

MessageReaction(String withType)

MessageReaction of a type.

Method Summary

Modifier and Type Method and Description
static MessageReaction clone(MessageReaction messageReaction)

Performs a deep copy of a MessageReaction.

static java.util.List<MessageReaction> cloneList(List<MessageReaction> messageReactions)

Performs a deep copy of a List of MessageReactions.

java.lang.String getType()

Get the type value.

void setType(String withType)

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

MessageReaction

public MessageReaction()

Empty MessageReaction.

MessageReaction

public MessageReaction(String withType)

MessageReaction of a type.

Parameters:

withType - The type.

Method Details

clone

public static MessageReaction clone(MessageReaction messageReaction)

Performs a deep copy of a MessageReaction.

Parameters:

messageReaction - The MessageReaction to copy.

Returns:

A clone of the MessageReaction.

cloneList

public static List cloneList(List messageReactions)

Performs a deep copy of a List of MessageReactions.

Parameters:

messageReactions - The List to clone.

Returns:

A clone of the List.

getType

public String getType()

Get the type value.

Returns:

the type value

setType

public void setType(String withType)

Set the type value.

Parameters:

withType - the type value to set

Applies to