feat: add replace type for messages.upsert

This commit is contained in:
Adhiraj Singh
2021-12-23 10:54:17 +05:30
parent 8c37ccf525
commit 5ae0b98636
2 changed files with 8 additions and 10 deletions

View File

@@ -165,7 +165,7 @@ export type MessageContentGenerationOptions = MediaGenerationOptions & {
}
export type MessageGenerationOptions = MessageContentGenerationOptions & MessageGenerationOptionsFromContent
export type MessageUpdateType = 'append' | 'notify' | 'prepend' | 'last'
export type MessageUpdateType = 'append' | 'notify' | 'prepend' | 'last' | 'replace'
export type MessageInfoEventMap = { [jid: string]: Date }
export interface MessageInfo {