MessageReaction Class
- java.
lang. Object - com.
microsoft. bot. schema. MessageReaction
- com.
public class MessageReaction
Message reaction object.
Constructor Summary
| Constructor | Description |
|---|---|
| MessageReaction() |
Empty Message |
| MessageReaction(String withType) |
Message |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Message |
clone(MessageReaction messageReaction)
Performs a deep copy of a Message |
|
static
java.util.List<Message |
cloneList(List<MessageReaction> messageReactions)
Performs a deep copy of a List of Message |
| java.lang.String |
getType()
Get the type value. |
| void |
setType(String withType)
Set the type value. |
Methods inherited from java.lang.Object
Constructor Details
MessageReaction
public MessageReaction()
Empty MessageReaction.
MessageReaction
public MessageReaction(String withType)
MessageReaction of a type.
Parameters:
Method Details
clone
public static MessageReaction clone(MessageReaction messageReaction)
Performs a deep copy of a MessageReaction.
Parameters:
Returns:
cloneList
public static List
Performs a deep copy of a List of MessageReactions.
Parameters:
Returns:
getType
public String getType()
Get the type value.
Returns:
setType
public void setType(String withType)
Set the type value.
Parameters: