Preparing search index...
The search index is not available
telegraf.js - v4.16.3
telegraf.js
MemorySessionStore
Class MemorySessionStore<T>
Deprecated
Use
Map
Type Parameters
T
Hierarchy
MemorySessionStore
Implements
SyncSessionStore
<
T
>
Index
Constructors
constructor
Properties
store
ttl
Methods
delete
get
set
Constructors
constructor
new
Memory
Session
Store
<
T
>
(
ttl
?
)
:
MemorySessionStore
<
T
>
Type Parameters
T
Parameters
ttl
:
number
= Infinity
Returns
MemorySessionStore
<
T
>
Properties
Private
Readonly
store
store
:
Map
<
string
,
{
expires
:
number
;
session
:
T
;
}
>
= ...
Type declaration
expires
:
number
session
:
T
Private
Readonly
ttl
ttl
:
number
= Infinity
Methods
delete
delete
(
name
)
:
void
Parameters
name
:
string
Returns
void
get
get
(
name
)
:
undefined
|
T
Parameters
name
:
string
Returns
undefined
|
T
set
set
(
name
,
value
)
:
void
Parameters
name
:
string
value
:
T
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
store
ttl
delete
get
set
telegraf.js -
v4.16.3
Format
Input
Markup
Scenes
Telegraf
Types
Composer
Context
Memory
Session
Store
Router
Telegraf
Telegram
Telegram
Error
Middleware
Obj
Middleware
Middleware
Fn
Narrowed
Context
Session
Store
deunionize
session
Generated using
TypeDoc
Deprecated
Use
Map