mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: cache media uploads
This commit is contained in:
@@ -48,6 +48,8 @@ export type SocketConfig = {
|
||||
emitOwnEvents: boolean
|
||||
/** provide a cache to store a user's device list */
|
||||
userDevicesCache?: NodeCache
|
||||
/** provide a cache to store media, so does not have to be re-uploaded */
|
||||
mediaCache?: NodeCache
|
||||
}
|
||||
|
||||
export enum DisconnectReason {
|
||||
|
||||
Reference in New Issue
Block a user