-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequest.go
32 lines (28 loc) · 824 Bytes
/
request.go
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
package marusia
type Request struct {
Meta struct {
ClientId string `json:"client_id"`
Locale string `json:"locale"`
Timezone string `json:"timezone"`
Interfaces struct {
Screen struct{} `json:"screen"`
} `json:"interfaces"`
} `json:"meta"`
Request struct {
Command string `json:"command"`
OriginalUtterance string `json:"original_utterance"`
Type string `json:"type"`
Nlu struct {
Tokens []string `json:"tokens"`
Entities []string `json:"entities"`
} `json:"nlu"`
} `json:"request"`
Session struct {
SessionId string `json:"session_id"`
UserId string `json:"user_id"`
SkillId string `json:"skill_id"`
New bool `json:"new"`
MessageId int64 `json:"message_id"`
} `json:"session"`
Version string `json:"version"`
}