Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,24 @@
# Licensed under the MIT License.
from enum import Enum


class DialogTurnStatus(Enum):
# Indicates that there is currently nothing on the dialog stack.
"""
Codes indicating the state of the dialog stack after a call to `DialogContext.continueDialog()`

:var Empty: Indicates that there is currently nothing on the dialog stack.
:vartype Empty: int
:var Waiting: Indicates that the dialog on top is waiting for a response from the user.
:vartype Waiting: int
:var Complete: Indicates that the dialog completed successfully, the result is available, and the stack is empty.
:vartype Complete: int
:var Cancelled: Indicates that the dialog was cancelled and the stack is empty.
:vartype Cancelled: int
"""

Empty = 1

# Indicates that the dialog on top is waiting for a response from the user.
Waiting = 2

# Indicates that the dialog completed successfully, the result is available, and the stack is empty.
Complete = 3

# Indicates that the dialog was cancelled and the stack is empty.
Cancelled = 4