Documentation ¶
Index ¶
- type Application
- type AudioPlayerContext
- type AudioPlayerEventRequest
- type Context
- type ContextResponse
- type Device
- type DialogDirective
- type EventRequest
- type Intent
- type IntentRequest
- type IntentRequestBody
- type LaunchRequest
- type Query
- type RequestPart
- type Session
- type SessionEndedRequest
- type SessionEndedRequestBody
- type SessionResponse
- type Slot
- type Speech
- type System
- type User
- type UserEventRequest
- type UserInfo
- type VideoPlayerContext
- type VideoPlayerEventRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
ApplicationId string
}
type AudioPlayerContext ¶
type AudioPlayerEventRequest ¶
type Context ¶
type Context struct { System System AudioPlayer AudioPlayerContext VideoPlayer VideoPlayerContext }
type ContextResponse ¶
type ContextResponse struct {
Intent Intent `json:"intent"`
}
type DialogDirective ¶
type EventRequest ¶
type EventRequest struct { Request struct { Token string Url string `json:"url,omitempty"` Name string `json:"name,omitempty"` // contains filtered or unexported fields } }
事件请求
type IntentRequest ¶
type IntentRequest struct {
Request IntentRequestBody
}
type IntentRequestBody ¶
type RequestPart ¶
公共请求体
type SessionEndedRequest ¶
type SessionEndedRequest struct {
Request SessionEndedRequestBody
}
type SessionEndedRequestBody ¶
type SessionEndedRequestBody struct { Reason string // contains filtered or unexported fields }
退出请求
type SessionResponse ¶
--------response------
type System ¶
type System struct { User User Application Application Device Device }
type UserEventRequest ¶
type UserEventRequest struct { Request struct { Token string Payload struct { ComponentId string `json:"componentId"` Source struct { Type string `json:"type"` Handler string `json:"handler"` Value string `json:"value"` SelfArguments []string `json:"selfArguments"` } `json:"source"` } `json:"payload"` // contains filtered or unexported fields } }
type VideoPlayerContext ¶
type VideoPlayerEventRequest ¶
Click to show internal directories.
Click to hide internal directories.