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
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
Markup.button
Scenes
Telegraf
Types
Base
Scene
Scene
Context
Scene
Stage
Wizard
Context
Wizard
constructor
state
cursor
step
back
next
select
Step
Wizard
Scene
Scene
Context
Scene
Session
Scene
Session
Data
Wizard
Context
Wizard
Session
Wizard
Session
Data
Generated using
TypeDoc