Skip to content

Commit 5d9441e

Browse files
authored
Merge pull request #605 from microsoft/emolsh/api-ref-docs-dialogturnstatus
emolsh/api-ref-docs-dialogturnstatus
2 parents 54b6729 + 6de1633 commit 5d9441e

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@
22
# Licensed under the MIT License.
33
from enum import Enum
44

5-
65
class DialogTurnStatus(Enum):
7-
# Indicates that there is currently nothing on the dialog stack.
6+
"""
7+
Codes indicating the state of the dialog stack after a call to `DialogContext.continueDialog()`
8+
9+
:var Empty: Indicates that there is currently nothing on the dialog stack.
10+
:vartype Empty: int
11+
:var Waiting: Indicates that the dialog on top is waiting for a response from the user.
12+
:vartype Waiting: int
13+
:var Complete: Indicates that the dialog completed successfully, the result is available, and the stack is empty.
14+
:vartype Complete: int
15+
:var Cancelled: Indicates that the dialog was cancelled and the stack is empty.
16+
:vartype Cancelled: int
17+
"""
18+
819
Empty = 1
920

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

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

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

0 commit comments

Comments
 (0)