EmojiReaction class

Inheritance

Constructors

EmojiReaction({required String emoji, required String title, required bool isActive, required Sticker staticIcon, required Sticker appearAnimation, required Sticker selectAnimation, required Sticker activateAnimation, required Sticker effectAnimation, Sticker? aroundAnimation, Sticker? centerAnimation, dynamic extra, int? clientId})
Contains information about a emoji reaction
const
EmojiReaction.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

activateAnimation Sticker
activateAnimation Activate animation for the reaction
final
appearAnimation Sticker
appearAnimation Appear animation for the reaction
final
aroundAnimation Sticker?
aroundAnimation Around animation for the reaction; may be null
final
centerAnimation Sticker?
centerAnimation Center animation for the reaction; may be null
final
clientId int?
clientId client identifier
final
effectAnimation Sticker
effectAnimation Effect animation for the reaction
final
emoji String
emoji Text representation of the reaction
final
extra → dynamic
extra callback sign
final
hashCode int
The hash code for this object.
no setterinherited
isActive bool
isActive True, if the reaction can be added to new messages and enabled in chats
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectAnimation Sticker
selectAnimation Select animation for the reaction
final
staticIcon Sticker
staticIcon Static icon for the reaction
final
title String
title Reaction title
final

Methods

copyWith({String? emoji, String? title, bool? isActive, Sticker? staticIcon, Sticker? appearAnimation, Sticker? selectAnimation, Sticker? activateAnimation, Sticker? effectAnimation, Sticker? aroundAnimation, Sticker? centerAnimation, dynamic extra, int? clientId}) EmojiReaction
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String