AddMessageReaction class
Adds a reaction to a message. Use getMessageAvailableReactions to receive the list of available reactions for the message.
Returns Ok.
- Inheritance
- Available Extensions
Constructors
- AddMessageReaction({required int chat_id, required int message_id, required ReactionType reaction_type, required bool is_big, required bool update_recent_reactions, int? extra, int? clientId})
- Adds a reaction to a message. Use getMessageAvailableReactions to receive the list of available reactions for the message
Properties
- chat_id ↔ int
-
Identifier of the chat to which the message belongs.
read / write
- 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_big ↔ bool
-
Pass true if the reaction is added with a big animation.
read / write
- message_id ↔ int
-
Identifier of the message.
read / write
- reaction_type ↔ ReactionType
-
Type of the reaction to add.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- update_recent_reactions ↔ bool
-
Pass true if the reaction needs to be added to recent reactions.
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) → AddMessageReaction? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"addMessageReaction"