UpdateMessageReaction class final
User changed its reactions on a message with public reactions; for bots only
Constructors
-
UpdateMessageReaction({required int chatId, required int messageId, required MessageSender actorId, required int date, required List<
ReactionType> oldReactionTypes, required List<ReactionType> newReactionTypes, dynamic extra, int? clientId}) -
User changed its reactions on a message with public reactions; for bots only
const
-
UpdateMessageReaction.fromJson(Map<
String, dynamic> json) -
Parses a UpdateMessageReaction from TDLib JSON.
factory
Properties
- actorId → MessageSender
-
Identifier of the user or chat that changed reactions
final
- chatId → int
-
Chat identifier
final
- clientId → int?
-
Identifier of the TDLib client that sent this object.
final
- date → int
-
Point in time (Unix timestamp) when the reactions were changed
final
- extra → dynamic
-
"@extra" of the request this object answers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → int
-
Message identifier
final
-
newReactionTypes
→ List<
ReactionType> -
New list of chosen reactions
final
-
oldReactionTypes
→ List<
ReactionType> -
Old list of chosen reactions
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? chatId, int? messageId, MessageSender? actorId, int? date, List< ReactionType> ? oldReactionTypes, List<ReactionType> ? newReactionTypes, dynamic extra, int? clientId}) → UpdateMessageReaction -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it.override -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.