Skip to main content

Module session_backend

Module session_backend 

Source
Expand description

Pluggable session storage backend.

Built-in backends:

Structs§

BinaryFileBackend
Stores the session in a compact binary file (v2 format with update state + peer cache).
InMemoryBackend
Ephemeral session — nothing persisted to disk.
SqliteBackend
SQLite-backed session store.
StringSessionBackend
Portable base64 string session backend — Pyrogram/Telethon style.

Traits§

SessionBackend