Preparing search index...
The search index is not available
telegraf.js - v4.12.2
telegraf.js - v4.12.2
Scenes
WizardContextWizard
Class WizardContextWizard<C>
Type Parameters
C
extends
SessionContext
<
WizardSession
>
&
{
scene
:
SceneContextScene
<
C
,
WizardSessionData
>
;
}
Hierarchy
WizardContextWizard
Index
Constructors
constructor
Properties
ctx
state
steps
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
extends
SessionContext
<
WizardSession
<
WizardSessionData
>
,
C
>
&
{
scene
:
SceneContextScene
<
C
,
WizardSessionData
>
;
}
Parameters
ctx:
C
steps:
readonly
Middleware
<
C
>
[]
Returns
WizardContextWizard
<
C
>
Properties
Private
Readonly
ctx
ctx
:
C
Readonly
state
state
:
object
Private
Readonly
steps
steps
:
readonly
Middleware
<
C
>
[]
Accessors
cursor
get
cursor
(
)
:
number
Returns
number
set
cursor
(
cursor
:
number
)
:
void
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
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
telegraf.js -
v4.12.2
Format
Input
Markup
button
Scenes
Telegraf
Types
Wizard
Context
Wizard
constructor
ctx
state
steps
cursor
step
back
next
select
Step
Generated using
TypeDoc