Class Reaction
An emoji reaction to a message, or the removal of one.
public sealed record Reaction : IEquatable<Reaction>
- Inheritance
-
Reaction
- Implements
- Inherited Members
Constructors
Reaction(string, string, long, bool)
An emoji reaction to a message, or the removal of one.
public Reaction(string Emoji, string TargetAuthor, long TargetTimestamp, bool IsRemove)
Parameters
EmojistringThe reaction emoji.
TargetAuthorstringPhone number or UUID of the author of the message reacted to.
TargetTimestamplongTimestamp of the message reacted to.
IsRemovebooltrue if the reaction was removed.
Properties
Emoji
The reaction emoji.
public string Emoji { get; init; }
Property Value
IsRemove
true if the reaction was removed.
public bool IsRemove { get; init; }
Property Value
TargetAuthor
Phone number or UUID of the author of the message reacted to.
public string TargetAuthor { get; init; }
Property Value
TargetTimestamp
Timestamp of the message reacted to.
public long TargetTimestamp { get; init; }