MessageReaction class
Contains information about a reaction to a message.
- Inheritance
- Available Extensions
Constructors
-
MessageReaction({required ReactionType type, required int total_count, required bool is_chosen, required List<
MessageSender> recent_sender_ids, int? extra, int? clientId}) - Contains information about a reaction to a message
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- is_chosen ↔ bool
-
True, if the reaction is chosen by the current user.
read / write
-
recent_sender_ids
↔ List<
MessageSender> -
Identifiers of at most 3 recent message senders, added the reaction; available in private, basic group and supergroup chats.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- total_count ↔ int
-
Number of times the reaction was added.
read / write
- type ↔ ReactionType
-
Type of the reaction.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → MessageReaction? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"messageReaction"