21 lines
435 B
TypeScript
21 lines
435 B
TypeScript
// Copyright 2021 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
import type { AciString } from './ServiceId';
|
|
|
|
export type ReactionType = Readonly<{
|
|
conversationId: string;
|
|
emoji: string;
|
|
fromId: string;
|
|
messageId: string;
|
|
messageReceivedAt: number;
|
|
targetAuthorAci: AciString;
|
|
targetTimestamp: number;
|
|
timestamp: number;
|
|
}>;
|
|
|
|
export enum ReactionReadStatus {
|
|
Unread = 'Unread',
|
|
Read = 'Read',
|
|
}
|