MessageReactionCountUpdated class abstract
Represents reaction changes on a message with anonymous reactions.
- Implemented types
- Annotations
-
- @freezed
Constructors
-
MessageReactionCountUpdated.new({@JsonKey(name: 'chat') required Chat chat, @JsonKey(name: 'message_id') required int messageId, @JsonKey(name: 'date') required int date, @JsonKey(name: 'reactions') required List<
ReactionCount> reactions}) -
Creates a new instance of MessageReactionCountUpdated.
constfactory
-
MessageReactionCountUpdated.fromJson(Map<
String, dynamic> json) -
Creates a MessageReactionCountUpdated object from JSON object.
factory
Properties
- chat → Chat
-
The chat containing the message.
no setterinherited
-
copyWith
→ $MessageReactionCountUpdatedCopyWith<
MessageReactionCountUpdated> -
Create a copy of MessageReactionCountUpdated
with the given fields replaced by the non-null parameter values.
no setterinherited
- date → int
-
Date of the change in Unix time.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → int
-
Unique message identifier inside the chat.
no setterinherited
-
reactions
→ List<
ReactionCount> -
List of reactions that are present on the message.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this MessageReactionCountUpdated to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited