Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Argument ¶
type Argument struct {
Source string `json:"source"`
OptionsSets []string `json:"optionsSets"`
AllowedMessageTypes []string `json:"allowedMessageTypes"`
SliceIds []string `json:"sliceIds"`
TraceId string `json:"traceId"`
IsStartOfSession bool `json:"isStartOfSession"`
Message Message `json:"message"`
ConversationSignature string `json:"conversationSignature"`
Participant Participant `json:"participant"`
ConversationId string `json:"conversationId"`
}
type Participant ¶
type Participant struct {
Id string `json:"id"`
}
type ResponseMessage ¶
type ResponseMessage struct {
Type int `json:"type"`
Target *string `json:"target"`
Item struct {
Result struct {
Error interface{} `json:"error"`
Value *string `json:"value"`
Message *string `json:"message"`
}
Messages []struct {
Text *string `json:"text"`
Author *string `json:"author"`
From struct {
Id string `json:"id"`
Name interface{} `json:"name"`
} `json:"from,omitempty"`
CreatedAt *time.Time `json:"createdAt"`
Timestamp *time.Time `json:"timestamp"`
Locale *string `json:"locale,omitempty"`
Market *string `json:"market,omitempty"`
Region *string `json:"region,omitempty"`
MessageId *string `json:"messageId"`
RequestId *string `json:"requestId"`
Nlu struct {
ScoredClassification struct {
Classification *string `json:"classification"`
Score interface{} `json:"score"`
} `json:"scoredClassification"`
ClassificationRanking []struct {
Classification *string `json:"classification"`
Score interface{} `json:"score"`
} `json:"classificationRanking"`
QualifyingClassifications interface{} `json:"qualifyingClassifications"`
Ood interface{} `json:"ood"`
MetaData interface{} `json:"metaData"`
Entities interface{} `json:"entities"`
} `json:"nlu,omitempty"`
Offense *string `json:"offense"`
Feedback struct {
Tag interface{} `json:"tag"`
UpdatedOn interface{} `json:"updatedOn"`
Type *string `json:"type"`
} `json:"feedback"`
ContentOrigin *string `json:"contentOrigin"`
Privacy interface{} `json:"privacy"`
InputMethod *string `json:"inputMethod,omitempty"`
AdaptiveCards []struct {
Type *string `json:"type"`
Version *string `json:"version"`
Body []struct {
Type *string `json:"type"`
Text *string `json:"text"`
Wrap *bool `json:"wrap"`
} `json:"body"`
} `json:"adaptiveCards,omitempty"`
SourceAttributions []interface{} `json:"sourceAttributions,omitempty"`
SuggestedResponses []struct {
Text *string `json:"text"`
Author *string `json:"author"`
CreatedAt *time.Time `json:"createdAt"`
Timestamp *time.Time `json:"timestamp"`
MessageId *string `json:"messageId"`
MessageType *string `json:"messageType"`
Offense *string `json:"offense"`
Feedback struct {
Tag interface{} `json:"tag"`
UpdatedOn interface{} `json:"updatedOn"`
Type *string `json:"type"`
} `json:"feedback"`
ContentOrigin *string `json:"contentOrigin"`
Privacy interface{} `json:"privacy"`
} `json:"suggestedResponses,omitempty"`
SpokenText *string `json:"spokenText,omitempty"`
} `json:"messages"`
}
Arguments []struct {
Messages []struct {
ContentType *string `json:"contentType"`
Text *string `json:"text"`
MessageType *string `json:"messageType"`
Author *string `json:"author"`
CreatedAt *time.Time `json:"createdAt"`
Timestamp *time.Time `json:"timestamp"`
MessageId *string `json:"messageId"`
Offense *string `json:"offense"`
AdaptiveCards []struct {
Type *string `json:"type"`
Version *string `json:"version"`
Body []struct {
Type *string `json:"type"`
Text *string `json:"text"`
Wrap *bool `json:"wrap"`
Size *string `json:"size,omitempty"`
Inlines []struct {
Type *string `json:"type"`
IsSubtle *bool `json:"isSubtle"`
Italic *bool `json:"italic"`
Text *string `json:"text"`
} `json:"inlines"`
} `json:"body"`
} `json:"adaptiveCards"`
SourceAttributions []struct {
ProviderDisplayName *string `json:"providerDisplayName"`
SeeMoreUrl *string `json:"seeMoreUrl"`
ImageFaviconUrl *string `json:"imageFaviconUrl,omitempty"`
SearchQuery *string `json:"searchQuery"`
ImageLink *string `json:"imageLink,omitempty"`
ImageWidth *string `json:"imageWidth,omitempty"`
ImageHeight *string `json:"imageHeight,omitempty"`
ImageFavicon *string `json:"imageFavicon,omitempty"`
} `json:"sourceAttributions"`
Feedback struct {
Tag interface{} `json:"tag"`
UpdatedOn interface{} `json:"updatedOn"`
Type *string `json:"type"`
} `json:"feedback"`
ContentOrigin *string `json:"contentOrigin"`
Privacy interface{} `json:"privacy"`
} `json:"messages"`
RequestId *string `json:"requestId"`
} `json:"arguments"`
}
Click to show internal directories.
Click to hide internal directories.