-
Notifications
You must be signed in to change notification settings - Fork 56
/
chat.yaml
56 lines (46 loc) · 938 Bytes
/
chat.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
- Hello! I'm Yve Bot.
- message: What's your name?
name: name
type: String
replyMessage: Thanks for the answer, {name}!
validators:
- min: 4
- minWords: 1
- message: What city do you live in?
name: city
multiline: false
type: String
- message: I'll skip this message
skip: true
- message: Thanks, wait a moment.
- sleep: 4000
- message: Make your choice
name: choice
type: SingleChoice
options:
- label: Button 1
value: 1
- label: Button 2
value: 2
- message: Okay! You chose the button {choice}.
- message: Which colors do you like?
name: colors
type: MultipleChoice
maxOptions: 4
options:
- Blue
- Red
- Black
- label: Green
- value: Purple
- Yellow
- Gray
replyMessage: Cool colors!
- message: What you want to do?
type: SingleChoice
options:
- label: Restart
next: name
- label: Quit
- message: "Bye! :("
exit: true