chore: add ability to specify ISyncActionMessageRange directly

This commit is contained in:
Adhiraj Singh
2022-04-28 16:26:23 +05:30
parent 87c1a04503
commit 6ee60bff67
3 changed files with 39 additions and 25 deletions

View File

@@ -36,7 +36,7 @@ export type Chat = Omit<proto.IConversation, 'messages'> & {
* the last messages in a chat, sorted reverse-chronologically. That is, the latest message should be first in the chat
* for MD modifications, the last message in the array (i.e. the earlist message) must be the last message recv in the chat
* */
export type LastMessageList = Pick<proto.IWebMessageInfo, 'key' | 'messageTimestamp'>[]
export type LastMessageList = Pick<proto.IWebMessageInfo, 'key' | 'messageTimestamp'>[] | proto.ISyncActionMessageRange
export type ChatModification =
{