ReactionEvent class
Objects representing a reaction event.
- Annotations
-
- @JsonSerializable(createToJson: false)
Constructors
- ReactionEvent({required ChannelType channelType, required String channelUrl, required int messageId, required String key, required String userId, required ReactionEventAction operation, required int updatedAt})
-
ReactionEvent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- channelType → ChannelType
-
The channel type.
final
- channelUrl → String
-
The channel url.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- key → String
-
The key of the Reaction this event belongs to.
final
- messageId ↔ int
-
The message ID which contains the Reaction of this event.
read / write
- operation → ReactionEventAction
-
Refer to ReactionEventAction.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- updatedAt → int
-
The updated timestamp of the reaction event in milliseconds.
final
- userId → String
-
The user ID of the User who have created this reaction event..
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited