Save group send endorsements
This commit is contained in:
@@ -31,6 +31,7 @@ import type {
|
||||
} from '../types/CallDisposition';
|
||||
import type { CallLinkStateType, CallLinkType } from '../types/CallLink';
|
||||
import type { AttachmentDownloadJobType } from '../types/AttachmentDownload';
|
||||
import type { GroupSendEndorsementsData } from '../types/GroupSendEndorsements';
|
||||
|
||||
export type AdjacentMessagesByConversationOptionsType = Readonly<{
|
||||
conversationId: string;
|
||||
@@ -526,6 +527,14 @@ export type DataInterface = {
|
||||
serviceId: ServiceIdString
|
||||
) => Promise<Array<ConversationType>>;
|
||||
|
||||
replaceAllEndorsementsForGroup: (
|
||||
data: GroupSendEndorsementsData
|
||||
) => Promise<void>;
|
||||
deleteAllEndorsementsForGroup: (groupId: string) => Promise<void>;
|
||||
getGroupSendCombinedEndorsementExpiration: (
|
||||
groupId: string
|
||||
) => Promise<number | null>;
|
||||
|
||||
getMessageCount: (conversationId?: string) => Promise<number>;
|
||||
getStoryCount: (conversationId: string) => Promise<number>;
|
||||
saveMessage: (
|
||||
|
Reference in New Issue
Block a user