Overview

Classes

  • Google_Service_YouTube
  • Google_Service_YouTube_AccessPolicy
  • Google_Service_YouTube_Activities_Resource
  • Google_Service_YouTube_Activity
  • Google_Service_YouTube_ActivityContentDetails
  • Google_Service_YouTube_ActivityContentDetailsBulletin
  • Google_Service_YouTube_ActivityContentDetailsChannelItem
  • Google_Service_YouTube_ActivityContentDetailsComment
  • Google_Service_YouTube_ActivityContentDetailsFavorite
  • Google_Service_YouTube_ActivityContentDetailsLike
  • Google_Service_YouTube_ActivityContentDetailsPlaylistItem
  • Google_Service_YouTube_ActivityContentDetailsPromotedItem
  • Google_Service_YouTube_ActivityContentDetailsRecommendation
  • Google_Service_YouTube_ActivityContentDetailsSocial
  • Google_Service_YouTube_ActivityContentDetailsSubscription
  • Google_Service_YouTube_ActivityContentDetailsUpload
  • Google_Service_YouTube_ActivityListResponse
  • Google_Service_YouTube_ActivitySnippet
  • Google_Service_YouTube_Caption
  • Google_Service_YouTube_CaptionListResponse
  • Google_Service_YouTube_Captions_Resource
  • Google_Service_YouTube_CaptionSnippet
  • Google_Service_YouTube_CdnSettings
  • Google_Service_YouTube_Channel
  • Google_Service_YouTube_ChannelAuditDetails
  • Google_Service_YouTube_ChannelBannerResource
  • Google_Service_YouTube_ChannelBanners_Resource
  • Google_Service_YouTube_ChannelBrandingSettings
  • Google_Service_YouTube_ChannelContentDetails
  • Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists
  • Google_Service_YouTube_ChannelContentOwnerDetails
  • Google_Service_YouTube_ChannelConversionPing
  • Google_Service_YouTube_ChannelConversionPings
  • Google_Service_YouTube_ChannelListResponse
  • Google_Service_YouTube_ChannelLocalization
  • Google_Service_YouTube_ChannelProfileDetails
  • Google_Service_YouTube_Channels_Resource
  • Google_Service_YouTube_ChannelSection
  • Google_Service_YouTube_ChannelSectionContentDetails
  • Google_Service_YouTube_ChannelSectionListResponse
  • Google_Service_YouTube_ChannelSectionLocalization
  • Google_Service_YouTube_ChannelSections_Resource
  • Google_Service_YouTube_ChannelSectionSnippet
  • Google_Service_YouTube_ChannelSectionTargeting
  • Google_Service_YouTube_ChannelSettings
  • Google_Service_YouTube_ChannelSnippet
  • Google_Service_YouTube_ChannelStatistics
  • Google_Service_YouTube_ChannelStatus
  • Google_Service_YouTube_ChannelTopicDetails
  • Google_Service_YouTube_Comment
  • Google_Service_YouTube_CommentListResponse
  • Google_Service_YouTube_Comments_Resource
  • Google_Service_YouTube_CommentSnippet
  • Google_Service_YouTube_CommentThread
  • Google_Service_YouTube_CommentThreadListResponse
  • Google_Service_YouTube_CommentThreadReplies
  • Google_Service_YouTube_CommentThreads_Resource
  • Google_Service_YouTube_CommentThreadSnippet
  • Google_Service_YouTube_ContentRating
  • Google_Service_YouTube_GeoPoint
  • Google_Service_YouTube_GuideCategories_Resource
  • Google_Service_YouTube_GuideCategory
  • Google_Service_YouTube_GuideCategoryListResponse
  • Google_Service_YouTube_GuideCategorySnippet
  • Google_Service_YouTube_I18nLanguage
  • Google_Service_YouTube_I18nLanguageListResponse
  • Google_Service_YouTube_I18nLanguages_Resource
  • Google_Service_YouTube_I18nLanguageSnippet
  • Google_Service_YouTube_I18nRegion
  • Google_Service_YouTube_I18nRegionListResponse
  • Google_Service_YouTube_I18nRegions_Resource
  • Google_Service_YouTube_I18nRegionSnippet
  • Google_Service_YouTube_ImageSettings
  • Google_Service_YouTube_IngestionInfo
  • Google_Service_YouTube_InvideoBranding
  • Google_Service_YouTube_InvideoPosition
  • Google_Service_YouTube_InvideoPromotion
  • Google_Service_YouTube_InvideoTiming
  • Google_Service_YouTube_LanguageTag
  • Google_Service_YouTube_LevelDetails
  • Google_Service_YouTube_LiveBroadcast
  • Google_Service_YouTube_LiveBroadcastContentDetails
  • Google_Service_YouTube_LiveBroadcastListResponse
  • Google_Service_YouTube_LiveBroadcasts_Resource
  • Google_Service_YouTube_LiveBroadcastSnippet
  • Google_Service_YouTube_LiveBroadcastStatistics
  • Google_Service_YouTube_LiveBroadcastStatus
  • Google_Service_YouTube_LiveChatBan
  • Google_Service_YouTube_LiveChatBans_Resource
  • Google_Service_YouTube_LiveChatBanSnippet
  • Google_Service_YouTube_LiveChatFanFundingEventDetails
  • Google_Service_YouTube_LiveChatMessage
  • Google_Service_YouTube_LiveChatMessageAuthorDetails
  • Google_Service_YouTube_LiveChatMessageDeletedDetails
  • Google_Service_YouTube_LiveChatMessageListResponse
  • Google_Service_YouTube_LiveChatMessageRetractedDetails
  • Google_Service_YouTube_LiveChatMessages_Resource
  • Google_Service_YouTube_LiveChatMessageSnippet
  • Google_Service_YouTube_LiveChatModerator
  • Google_Service_YouTube_LiveChatModeratorListResponse
  • Google_Service_YouTube_LiveChatModerators_Resource
  • Google_Service_YouTube_LiveChatModeratorSnippet
  • Google_Service_YouTube_LiveChatPollClosedDetails
  • Google_Service_YouTube_LiveChatPollEditedDetails
  • Google_Service_YouTube_LiveChatPollItem
  • Google_Service_YouTube_LiveChatPollOpenedDetails
  • Google_Service_YouTube_LiveChatPollVotedDetails
  • Google_Service_YouTube_LiveChatSuperChatDetails
  • Google_Service_YouTube_LiveChatSuperStickerDetails
  • Google_Service_YouTube_LiveChatTextMessageDetails
  • Google_Service_YouTube_LiveChatUserBannedMessageDetails
  • Google_Service_YouTube_LiveStream
  • Google_Service_YouTube_LiveStreamConfigurationIssue
  • Google_Service_YouTube_LiveStreamContentDetails
  • Google_Service_YouTube_LiveStreamHealthStatus
  • Google_Service_YouTube_LiveStreamListResponse
  • Google_Service_YouTube_LiveStreams_Resource
  • Google_Service_YouTube_LiveStreamSnippet
  • Google_Service_YouTube_LiveStreamStatus
  • Google_Service_YouTube_LocalizedProperty
  • Google_Service_YouTube_LocalizedString
  • Google_Service_YouTube_Member
  • Google_Service_YouTube_MemberListResponse
  • Google_Service_YouTube_Members_Resource
  • Google_Service_YouTube_MembershipsDetails
  • Google_Service_YouTube_MembershipsDuration
  • Google_Service_YouTube_MembershipsDurationAtLevel
  • Google_Service_YouTube_MembershipsLevel
  • Google_Service_YouTube_MembershipsLevelListResponse
  • Google_Service_YouTube_MembershipsLevels_Resource
  • Google_Service_YouTube_MembershipsLevelSnippet
  • Google_Service_YouTube_MemberSnippet
  • Google_Service_YouTube_MonitorStreamInfo
  • Google_Service_YouTube_Nonprofit
  • Google_Service_YouTube_NonprofitId
  • Google_Service_YouTube_PageInfo
  • Google_Service_YouTube_Playlist
  • Google_Service_YouTube_PlaylistContentDetails
  • Google_Service_YouTube_PlaylistItem
  • Google_Service_YouTube_PlaylistItemContentDetails
  • Google_Service_YouTube_PlaylistItemListResponse
  • Google_Service_YouTube_PlaylistItems_Resource
  • Google_Service_YouTube_PlaylistItemSnippet
  • Google_Service_YouTube_PlaylistItemStatus
  • Google_Service_YouTube_PlaylistListResponse
  • Google_Service_YouTube_PlaylistLocalization
  • Google_Service_YouTube_PlaylistPlayer
  • Google_Service_YouTube_Playlists_Resource
  • Google_Service_YouTube_PlaylistSnippet
  • Google_Service_YouTube_PlaylistStatus
  • Google_Service_YouTube_PromotedItem
  • Google_Service_YouTube_PromotedItemId
  • Google_Service_YouTube_PropertyValue
  • Google_Service_YouTube_ResourceId
  • Google_Service_YouTube_Search_Resource
  • Google_Service_YouTube_SearchListResponse
  • Google_Service_YouTube_SearchResult
  • Google_Service_YouTube_SearchResultSnippet
  • Google_Service_YouTube_Sponsor
  • Google_Service_YouTube_SponsorListResponse
  • Google_Service_YouTube_Sponsors_Resource
  • Google_Service_YouTube_SponsorSnippet
  • Google_Service_YouTube_Subscription
  • Google_Service_YouTube_SubscriptionContentDetails
  • Google_Service_YouTube_SubscriptionListResponse
  • Google_Service_YouTube_Subscriptions_Resource
  • Google_Service_YouTube_SubscriptionSnippet
  • Google_Service_YouTube_SubscriptionSubscriberSnippet
  • Google_Service_YouTube_SuperChatEvent
  • Google_Service_YouTube_SuperChatEventListResponse
  • Google_Service_YouTube_SuperChatEvents_Resource
  • Google_Service_YouTube_SuperChatEventSnippet
  • Google_Service_YouTube_SuperStickerMetadata
  • Google_Service_YouTube_Thumbnail
  • Google_Service_YouTube_ThumbnailDetails
  • Google_Service_YouTube_Thumbnails_Resource
  • Google_Service_YouTube_ThumbnailSetResponse
  • Google_Service_YouTube_TokenPagination
  • Google_Service_YouTube_Video
  • Google_Service_YouTube_VideoAbuseReport
  • Google_Service_YouTube_VideoAbuseReportReason
  • Google_Service_YouTube_VideoAbuseReportReasonListResponse
  • Google_Service_YouTube_VideoAbuseReportReasons_Resource
  • Google_Service_YouTube_VideoAbuseReportReasonSnippet
  • Google_Service_YouTube_VideoAbuseReportSecondaryReason
  • Google_Service_YouTube_VideoAgeGating
  • Google_Service_YouTube_VideoCategories_Resource
  • Google_Service_YouTube_VideoCategory
  • Google_Service_YouTube_VideoCategoryListResponse
  • Google_Service_YouTube_VideoCategorySnippet
  • Google_Service_YouTube_VideoContentDetails
  • Google_Service_YouTube_VideoContentDetailsRegionRestriction
  • Google_Service_YouTube_VideoFileDetails
  • Google_Service_YouTube_VideoFileDetailsAudioStream
  • Google_Service_YouTube_VideoFileDetailsVideoStream
  • Google_Service_YouTube_VideoGetRatingResponse
  • Google_Service_YouTube_VideoListResponse
  • Google_Service_YouTube_VideoLiveStreamingDetails
  • Google_Service_YouTube_VideoLocalization
  • Google_Service_YouTube_VideoMonetizationDetails
  • Google_Service_YouTube_VideoPlayer
  • Google_Service_YouTube_VideoProcessingDetails
  • Google_Service_YouTube_VideoProcessingDetailsProcessingProgress
  • Google_Service_YouTube_VideoProjectDetails
  • Google_Service_YouTube_VideoRating
  • Google_Service_YouTube_VideoRecordingDetails
  • Google_Service_YouTube_Videos_Resource
  • Google_Service_YouTube_VideoSnippet
  • Google_Service_YouTube_VideoStatistics
  • Google_Service_YouTube_VideoStatus
  • Google_Service_YouTube_VideoSuggestions
  • Google_Service_YouTube_VideoSuggestionsTagSuggestion
  • Google_Service_YouTube_VideoTopicDetails
  • Google_Service_YouTube_WatchSettings
  • Google_Service_YouTube_Watermarks_Resource
  • Overview
  • Class
  • Tree

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
Extended by 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

Google_Service_YouTube_LiveChatMessage
Google_Service_YouTube_LiveChatMessage
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

Google_Service_YouTube_LiveChatMessageListResponse
Google_Service_YouTube_LiveChatMessageListResponse

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.
© 2020 Google Inc.
YouTube Data API documentation generated by ApiGen 2.8.0