Transitions the status of a live chat poll message to close an active poll.
Setting status to closed ends an active poll and returns the final results when part includes snippet. Before calling this method, confirm that snippet.pollDetails.status is active. The request must be authorized by the channel owner or content manager.
For method-specific error responses, see liveChatMessages.transition errors.
HTTP request
POST https://youtube.googleapis.com/youtube/v3/liveChat/messages/transition
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
id |
Required. The ID that uniquely identifies the chat message event to transition. |
status |
Required. The target status for the chat message event. You can only transition to This enum field has the one valid value:
|
part[] |
Optional. The |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of LiveChatMessage.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/youtubehttps://www.googleapis.com/auth/youtube.force-ssl
For more information, see the OAuth 2.0 Overview.