Class Google_Service_YouTube_LiveChatModerators_Resource
The "liveChatModerators" collection of methods. Typical usage is:
$youtubeService = new Google_Service_YouTube(...);
$liveChatModerators = $youtubeService->liveChatModerators;
-
Google_Service_Resource
-
Google_Service_YouTube_LiveChatModerators_Resource
Located at YouTube.php
Methods summary
public
|
#
delete( string $id, array $optParams = array() )
Removes a chat moderator. (liveChatModerators.delete)
Removes a chat moderator. (liveChatModerators.delete)
Parameters
- $id
- The id parameter identifies the chat moderator to remove. The value uniquely
identifies both the moderator and the chat.
- $optParams
- Optional parameters.
|
public
Google_Service_YouTube_LiveChatModerator
|
#
insert( string $part, Google_Service_YouTube_LiveChatModerator $postBody, array $optParams = array() )
Adds a new moderator for the chat. (liveChatModerators.insert)
Adds a new moderator for the chat. (liveChatModerators.insert)
Parameters
- $part
- The part parameter serves two purposes in this operation. It identifies the
properties that the write operation will set as well as the properties that the
API response returns. Set the parameter value to snippet.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_YouTube_LiveChatModeratorListResponse
|
#
listLiveChatModerators( string $liveChatId, string $part, array $optParams = array() )
Lists moderators for a live chat.
(liveChatModerators.listLiveChatModerators)
Lists moderators for a live chat.
(liveChatModerators.listLiveChatModerators)
Parameters
- $liveChatId
- The liveChatId parameter specifies the YouTube live chat for which the API
should return moderators.
- $part
- The part parameter specifies the liveChatModerator resource parts that the API
response will include. Supported values are id and snippet.
- $optParams
- Optional parameters.
Returns
Opt_param
string maxResults The maxResults parameter specifies the maximum number of items
that should be returned in the result set.
string pageToken The pageToken parameter identifies a specific page in the
result set that should be returned. In an API response, the nextPageToken and
prevPageToken properties identify other pages that could be retrieved.
|