Optional
hasKeys?: boolean | number[]IDs of the DCs for which the storage should have auth keys,
or true
to have keys for all DCs
Optional
hasTempKeys?: boolean | number[]IDs of the DCs for which the storage should have temp auth keys,
or true
to have keys for all DCs
Readonly
authReadonly
driverReadonly
kvReadonly
paramsOptional
hasKeys?: boolean | number[]IDs of the DCs for which the storage should have auth keys,
or true
to have keys for all DCs
Optional
hasTempKeys?: boolean | number[]IDs of the DCs for which the storage should have temp auth keys,
or true
to have keys for all DCs
Readonly
peersReadonly
refOptional
tempIndex: number
In-memory storage driver implementation for mtcute.
This storage is not persistent, meaning that all data will be lost on restart. Only use this storage for testing, or if you know exactly what you're doing.