SetStoryReaction class
Changes chosen reaction on a story.
Returns Ok.
- Inheritance
- Available Extensions
Constructors
- SetStoryReaction({required int story_sender_chat_id, required int story_id, ReactionType? reaction_type, required bool update_recent_reactions, int? extra, int? clientId})
- Changes chosen reaction on a story
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
- reaction_type ↔ ReactionType?
-
Type of the reaction to set; pass null to remove the reaction.
reactionTypeCustomEmoji
reactions can be used only by Telegram Premium users.read / write - runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- story_id ↔ int
-
The identifier of the story.
read / write
- story_sender_chat_id ↔ int
-
The identifier of the sender of the story.
read / write
- 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) → SetStoryReaction? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"setStoryReaction"