mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: update proto
The new proto extract has a bunch of breaking changes, so if you were using the raw proto in your code somewhere -- then you may have to update your code to make it work with the new proto !BREAKING_CHANGE
This commit is contained in:
@@ -30,7 +30,7 @@ export type WAPatchCreate = {
|
||||
index: string[]
|
||||
type: WAPatchName
|
||||
apiVersion: number
|
||||
operation: proto.SyncdMutation.SyncdMutationSyncdOperation
|
||||
operation: proto.SyncdMutation.SyncdOperation
|
||||
}
|
||||
|
||||
export type Chat = proto.IConversation & {
|
||||
@@ -45,7 +45,7 @@ export type Chat = proto.IConversation & {
|
||||
* 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 = MinimalMessage[] | proto.ISyncActionMessageRange
|
||||
export type LastMessageList = MinimalMessage[] | proto.SyncActionValue.ISyncActionMessageRange
|
||||
|
||||
export type ChatModification =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user