Methods | ChatEventItem.CreateReaction Method
Creates and adds a new reaction to this event.
Syntax
C#
Copy
public ChatEventReactionItem CreateReaction(
string value
)
Parameters
value String
The value of this reaction. For most cases, this will be one or more Unicode emojis.
Return Value
ChatEventReactionItem
The created reaction.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when a reaction with the provided value already exists. |
See Also
Reference
ChatEventItem Class
Compiled.EDD.Scripting Namespace