UserMessage
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
사용자가 에이전트에게 보내는 메시지입니다.
UserMessage
는 에이전트가 수신하는 message
객체의 data
필드에 표시됩니다. data
필드는 에이전트가 바이트로 변환하고 UserMessage
프로토콜 버퍼로 파싱해야 하는 base64로 인코딩된 문자열입니다.
JSON 표현 |
{
"requestId": string,
"conversationId": string,
"customAgentId": string,
"agent": string,
"context": {
object (Context )
},
"sendTime": string,
"dialogflowResponse": {
object (DialogflowResponse )
},
// Union field payload can be only one of the following:
"message": {
object (Message )
},
"receipts": {
object (Receipts )
},
"userStatus": {
object (UserStatus )
},
"surveyResponse": {
object (SurveyResponse )
},
"suggestionResponse": {
object (SuggestionResponse )
},
"authenticationResponse": {
object (AuthenticationResponse )
}
// End of list of possible types for union field payload .
} |
필드 |
requestId |
string
사용자 메시지의 고유 식별자입니다. 이 입력란을 사용하여 수신 메일의 중복을 제거할 수 있습니다.
|
conversationId |
string
대화의 고유 식별자입니다.
|
customAgentId |
string
에이전트의 맞춤 식별자입니다. 에이전트 등록 중에 파트너가 정의합니다.
|
agent |
string
에이전트의 식별자입니다. 에이전트를 만드는 동안 설정됩니다.
|
context |
object (Context )
메시지와 관련된 문맥 데이터입니다.
|
sendTime |
string (Timestamp format)
메시지가 전송된 시간입니다. RFC3339 UTC 'Zulu' 형식의 타임스탬프입니다(나노초 단위, 소수점 이하 9자리). 예를 들면 "2014-10-02T15:01:23Z" 및 "2014-10-02T15:01:23.045123456Z" 입니다.
|
dialogflowResponse |
object (DialogflowResponse )
Dialogflow 응답입니다.
|
통합 필드 payload . 사용자 메시지의 페이로드입니다. payload 은 다음 중 하나여야 합니다. |
message |
object (Message )
메시지의 내용.
|
receipts |
object (Receipts )
영수증의 내용
|
userStatus |
object (UserStatus )
사용자 상태의 콘텐츠입니다.
|
surveyResponse |
object (SurveyResponse )
설문조사 응답입니다.
|
suggestionResponse |
object (SuggestionResponse )
추천 응답입니다.
|
authenticationResponse |
object (AuthenticationResponse )
인증 응답입니다.
|
UserStatus
JSON 표현 |
{
"createTime": string,
// Union field status can be only one of the following:
"isTyping": boolean,
"requestedLiveAgent": boolean
// End of list of possible types for union field status .
} |
필드 |
createTime |
string (Timestamp format)
사용자 상태가 변경된 시간 RFC3339 UTC 'Zulu' 형식의 타임스탬프입니다(나노초 단위, 소수점 이하 9자리). 예를 들면 "2014-10-02T15:01:23Z" 및 "2014-10-02T15:01:23.045123456Z" 입니다.
|
통합 필드 status . status 는 다음 중 하나여야 합니다.
|
isTyping |
boolean
사용자의 입력 여부입니다.
|
requestedLiveAgent |
boolean
사용자가 실시간 상담사를 요청했는지 여부입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-01(UTC)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]