mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: add ability to specify ISyncActionMessageRange directly
This commit is contained in:
@@ -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 =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user