Retry outbound "normal" messages for up to a day

This commit is contained in:
Evan Hahn 2021-08-31 15:58:39 -05:00 committed by GitHub
parent 62cf51c060
commit a85dd1be36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 1414 additions and 603 deletions

View file

@ -307,9 +307,13 @@ export type DataInterface = {
options?: { limit?: number }
) => Promise<Array<ConversationType>>;
getMessagesById: (messageIds: Array<string>) => Promise<Array<MessageType>>;
saveMessage: (
data: MessageType,
options?: { forceSave?: boolean }
options?: {
jobToInsert?: StoredJob;
forceSave?: boolean;
}
) => Promise<string>;
saveMessages: (
arrayOfMessages: Array<MessageType>,