Class Google_Service_YouTube_LiveChatMessages_Resource
The "liveChatMessages" collection of methods. Typical usage is:
$youtubeService = new Google_Service_YouTube(...);
$liveChatMessages = $youtubeService->liveChatMessages;
-
Google_Service_Resource
-
Google_Service_YouTube_LiveChatMessages_Resource
Located at YouTube.php
Methods summary
public
|
#
delete( string $id, array $optParams = array() )
Deletes a chat message. (liveChatMessages.delete)
Deletes a chat message. (liveChatMessages.delete)
Parameters
- $id
- The id parameter specifies the YouTube chat message ID of the resource that is
being deleted.
- $optParams
- Optional parameters.
|
public
Google_Service_YouTube_LiveChatMessage
|
#
insert( string $part, Google_Service_YouTube_LiveChatMessage $postBody, array $optParams = array() )
Adds a message to a live chat. (liveChatMessages.insert)
Adds a message to a live chat. (liveChatMessages.insert)
Parameters
- $part
- The part parameter serves two purposes. It identifies the properties that the
write operation will set as well as the properties that the API response will
include. Set the parameter value to snippet.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_YouTube_LiveChatMessageListResponse
|
#
listLiveChatMessages( string $liveChatId, string $part, array $optParams = array() )
Lists live chat messages for a specific chat.
(liveChatMessages.listLiveChatMessages)
Lists live chat messages for a specific chat.
(liveChatMessages.listLiveChatMessages)
Parameters
- $liveChatId
- The liveChatId parameter specifies the ID of the chat whose messages will be
returned.
- $part
- The part parameter specifies the liveChatComment resource parts that the API
response will include. Supported values are id and snippet.
- $optParams
- Optional parameters.
Returns
Opt_param
string hl The hl parameter instructs the API to retrieve localized resource
metadata for a specific application language that the YouTube website supports.
The parameter value must be a language code included in the list returned by the
i18nLanguages.list method. If localized resource details are available in that
language, the resource's snippet.localized object will contain the localized
values. However, if localized details are not available, the snippet.localized
object will contain resource details in the resource's default language.
string maxResults The maxResults parameter specifies the maximum number of
messages 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
property identify other pages that could be retrieved.
string profileImageSize The profileImageSize parameter specifies the size of the
user profile pictures that should be returned in the result set. Default: 88.
|