AvailableReactions class

Represents a list of reactions that can be added to a message.

Inheritance
Available Extensions

Constructors

AvailableReactions({required List<AvailableReaction> top_reactions, required List<AvailableReaction> recent_reactions, required List<AvailableReaction> popular_reactions, required bool allow_custom_emoji, int? extra, int? clientId})
Represents a list of reactions that can be added to a message

Properties

allow_custom_emoji ↔ bool
True, if custom emoji reactions could be added by Telegram Premium subscribers.
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
List of popular reactions.
read / write
recent_reactions ↔ List<AvailableReaction>
List of recently used reactions.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
top_reactions ↔ List<AvailableReaction>
List of reactions to be shown at the top.
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) → AvailableReactions?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"availableReactions"