addReaction method

Future<void> addReaction({
  1. required String messageId,
  2. required String reaction,
})

Implementation

Future<void> addReaction({
  required String messageId,
  required String reaction,
}) {
  return checkResult(ChatSDKEvent.addReaction, () async {
    return Client.getInstance.chatManager.addReaction(
      messageId: messageId,
      reaction: reaction,
    );
  });
}