CommandAddReaction.fromJson constructor

CommandAddReaction.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CommandAddReaction.fromJson(Map<String, dynamic> json) => CommandAddReaction(
  target: json['target'] as String,
  msgid: json['msgid'] as String,
  emoji: json['emoji'] as String,
);