Search
Preparing search index...
The search index is not available
telegraf.js - v4.8.5
Options
All
Public
Public/Protected
All
Inherited
Menu
telegraf.js - v4.8.5
Scenes
WizardContextWizard
Class WizardContextWizard<C>
Type parameters
C
:
SessionContext
<
WizardSession
>
&
{
scene
:
SceneContextScene
<
C
,
WizardSessionData
>
}
Hierarchy
WizardContextWizard
Index
Constructors
constructor
Properties
state
Accessors
cursor
step
Methods
back
next
select
Step
Constructors
constructor
new
Wizard
Context
Wizard
<
C
>
(
ctx
:
C
, steps
:
readonly
Middleware
<
C
>
[]
)
:
WizardContextWizard
<
C
>
Type parameters
C
:
SessionContext
<
WizardSession
<
WizardSessionData
>
,
C
>
&
{
scene
:
SceneContextScene
<
C
,
WizardSessionData
>
}
Parameters
ctx:
C
steps:
readonly
Middleware
<
C
>
[]
Returns
WizardContextWizard
<
C
>
Properties
Readonly
state
state
:
object
Accessors
cursor
get
cursor
(
)
:
number
set
cursor
(
cursor
:
number
)
:
void
Returns
number
Parameters
cursor:
number
Returns
void
step
get
step
(
)
:
undefined
|
Middleware
<
C
>
Returns
undefined
|
Middleware
<
C
>
Methods
back
back
(
)
:
WizardContextWizard
<
C
>
Returns
WizardContextWizard
<
C
>
next
next
(
)
:
WizardContextWizard
<
C
>
Returns
WizardContextWizard
<
C
>
select
Step
select
Step
(
index
:
number
)
:
WizardContextWizard
<
C
>
Parameters
index:
number
Returns
WizardContextWizard
<
C
>
Exports
Markup
Scenes
Telegraf
Types
Wizard
Context
Wizard
constructor
state
cursor
step
back
next
select
Step
Generated using
TypeDoc