Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- req := &dialogflow2.DetectIntentRequest{
- Session: "projects/" + clientSession.BotId + "/agent/sessions/" + clientSession.SessionId,
- QueryParams: &dialogflow2.QueryParameters{},
- QueryInput: &dialogflow2.QueryInput{
- Input: &dialogflow2.QueryInput_Text{
- Text: &dialogflow2.TextInput{
- Text: msg,
- LanguageCode: clientSession.LangCode,
- },
- },
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement