Preparing search index...
The search index is not available
telegraf.js - v4.16.3
telegraf.js
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
,
steps
)
:
WizardContextWizard
<
C
>
Type Parameters
C
extends
SessionContext
<
WizardSession
<
WizardSessionData
>
>
&
{
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
)
:
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
)
:
WizardContextWizard
<
C
>
Parameters
index
:
number
Returns
WizardContextWizard
<
C
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
ctx
state
steps
cursor
step
back
next
select
Step
telegraf.js -
v4.16.3
Format
Input
Markup
Scenes
Base
Scene
Scene
Context
Scene
Stage
Wizard
Context
Wizard
Wizard
Scene
Scene
Context
Scene
Session
Scene
Session
Data
Wizard
Context
Wizard
Session
Wizard
Session
Data
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