fix: Delete Message For Me (#1718)

* Add Timestamp for deleteMessageForMe

* Fix Typo Readme

* Add Timestamp for deleteMessageForMe

* fix: Typo type timestamp
This commit is contained in:
Dwi Rizqi
2022-06-13 21:43:52 +07:00
committed by GitHub
parent c22b4c9c89
commit e7087cabf5
3 changed files with 9 additions and 8 deletions

View File

@@ -75,7 +75,7 @@ export type ChatModification =
mute: number | null
} |
{
clear: 'all' | { messages: {id: string, fromMe?: boolean}[] }
clear: 'all' | { messages: {id: string, fromMe?: boolean, timestamp: number}[] }
} |
{
star: {
@@ -96,4 +96,4 @@ export type InitialReceivedChatsState = {
export type InitialAppStateSyncOptions = {
recvChats: InitialReceivedChatsState
accountSettings: AccountSettings
}
}