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.

Hierarchy

  • MemoryStorage

    Implements

    Constructors

    Properties

    authKeys: MemoryAuthKeysRepository = ...
    driver: MemoryStorageDriver = ...
    kv: MemoryKeyValueRepository = ...
    peers: MemoryPeersRepository = ...
    refMessages: MemoryRefMessagesRepository = ...