Search
Preparing search index...
The search index is not available
telegraf.js - v4.4.1
Options
All
Public
Public/Protected
All
Inherited
Menu
telegraf.js - v4.4.1
MemorySessionStore
Class MemorySessionStore<T>
deprecated
https://github.com/telegraf/telegraf/issues/1372#issuecomment-782668499
Type parameters
T
Hierarchy
MemorySessionStore
Implements
SessionStore
<
T
>
Index
Constructors
constructor
Properties
store
Methods
delete
get
set
Constructors
constructor
new
Memory
Session
Store<T>
(
ttl
?:
number
)
:
MemorySessionStore
<
T
>
Type parameters
T
Parameters
ttl:
number
= ...
Returns
MemorySessionStore
<
T
>
Properties
Private
Readonly
store
store
:
Map
<
string
,
{
expires
:
number
;
session
:
T
}
>
= ...
Methods
delete
delete
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
get
get
(
name
:
string
)
:
undefined
|
T
Parameters
name:
string
Returns
undefined
|
T
set
set
(
name
:
string
, value
:
T
)
:
void
Parameters
name:
string
value:
T
Returns
void
Exports
Composer
Context
Memory
Session
Store
constructor
store
delete
get
set
Router
Telegraf
Telegram
Telegram
Error
Middleware
Middleware
Fn
Narrowed
Context
deunionize
session
Generated using
TypeDoc
https://github.com/telegraf/telegraf/issues/1372#issuecomment-782668499