-
Notifications
You must be signed in to change notification settings - Fork 0
/
messages.json.example
96 lines (96 loc) · 2.34 KB
/
messages.json.example
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[
{
"name": "unique_message_name",
"sendAt": {
"hours": 16,
"minutes": 20
},
"sendAtLocation": {
"latitude": 0.0,
"longitude": 0.0
},
"sendOnText": "trigger word",
"nextAfter": 0,
"nextName": "next_message_name",
"text": "text or caption goes in here in HTML format",
"image": "absolute path to image",
"sticker": "absolute path to webp",
"animatedSticker": "animated sticker's file ID",
"voice": "absolute path to ogg",
"audio": "URL of mp3 file",
"keyboard": [
"button caption #1",
"button caption #2"
],
"buttons": [
{
"text": "button's caption",
"callbackData": "message name to send to bday user"
}
],
"geotag": {
"latitude": 0.0,
"longitude": 0.0
},
"video": "absolute path to video or gif",
"quiz": {
"question": "Have you guessed what goes here?",
"options": [
"Yes",
"No"
],
"correctOptionId": 0,
"replyName": "reply_message_name"
},
"notifyNpc": [
{
"npcCodename": "same as in config.json",
"messageName": "message sent to npc"
}
]
},
{
"name": "new_message_template",
"sendAt": {
"hours": 0,
"minutes": 0
},
"sendAtLocation": {
"latitude": 0.0,
"longitude": 0.0
},
"sendOnText": "",
"nextAfter": 0,
"nextName": "",
"text": "",
"image": "",
"sticker": "",
"animatedSticker": "",
"voice": "",
"audio": "",
"keyboard": [
"",
""
],
"buttons": [
{
"text": "",
"callbackData": ""
}
],
"geotag": {
"latitude": 0.0,
"longitude": 0.0
},
"video": "",
"quiz": {
"question": "",
"options": [
"",
""
],
"correctOptionId": 0,
"replyName": ""
}
}
]