import { User } from 'src/types/user';

export type Reaction = {
  emoji: string;
  unified?: string;
  count: number;
  isLoggedUserReaction?: boolean;
};

// Response
export type ReactionUsersResponse = {
  users: Array<User>;
  timestamp: string;
};

// Socket
export type MessageReactionSocket = {
  emoji: string;
  unified: string;
  userId: number;
  messageId: number;
  chatId: number;
};
