mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: handle unarchiveChats setting
This commit is contained in:
@@ -27,6 +27,11 @@ export type SignalCreds = {
|
||||
readonly registrationId: number
|
||||
}
|
||||
|
||||
export type AccountSettings = {
|
||||
/** unarchive chats when a new message is received */
|
||||
unarchiveChats: boolean
|
||||
}
|
||||
|
||||
export type AuthenticationCreds = SignalCreds & {
|
||||
readonly noiseKey: KeyPair
|
||||
readonly advSecretKey: string
|
||||
@@ -40,6 +45,7 @@ export type AuthenticationCreds = SignalCreds & {
|
||||
nextPreKeyId: number
|
||||
|
||||
lastAccountSyncTimestamp?: number
|
||||
accountSettings: AccountSettings
|
||||
}
|
||||
|
||||
export type SignalDataTypeMap = {
|
||||
|
||||
Reference in New Issue
Block a user