MemoryStorageRecord
in package
FinalYes
Mutable value object holding a single FSM storage slot.
Mirrors the MemoryStorageRecord dataclass from
aiogram/fsm/storage/memory.py:20-22:
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$data
public
array<string|int, mixed>
$data
= []
$state
public
string|null
$state
= null
Methods
__construct()
public
__construct([array<string, mixed> $data = [] ][, null|string $state = null ]) : mixed
Parameters
- $data : array<string, mixed> = []
-
Arbitrary key-value payload for the FSM record.
- $state : null|string = null
-
Serialised state name, or
nullwhen no state is active.