Google Business Messages는 2024년 7월 31일에 지원 중단됩니다.
자세히 알아보기
Method: conversations.events.create
HTTP 요청
POST https://businessmessages.googleapis.com/v1/{parent=conversations/*}/events
URL은 gRPC 트랜스코딩 구문을 사용합니다.
경로 매개변수
매개변수 |
parent |
string
필수 항목입니다. 메시지가 포함된 대화입니다. 'conversations/{conversationId}'로 해결합니다.
|
쿼리 매개변수
매개변수 |
eventId |
string
상담사가 할당한 이벤트의 고유 식별자입니다. 이벤트에 대화의 이전 이벤트와 동일한 eventId 이 있는 경우 Business Messages에서 ALREADY_EXISTS 오류를 반환합니다.
|
요청 본문
요청 본문에는 Event
의 인스턴스가 포함됩니다.
응답 본문
성공한 경우 응답 본문에 새로 생성된 Event
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/businessmessages
자세한 내용은 OAuth 2.0 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-01(UTC)
[null,null,["최종 업데이트: 2023-12-01(UTC)"],[[["Sends an event to an existing conversation using an HTTP POST request."],["Requires specifying the conversation ID and a unique event ID."],["Uses OAuth 2.0 for authorization with the `https://www.googleapis.com/auth/businessmessages` scope."],["If successful, the response includes the newly created event details."]]],[]]