@googleapis/youtube 39.0.1 → 40.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v3.d.ts +54 -90
- package/build/v3.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.build.json +10 -0
- package/v3.ts +54 -90
package/build/v3.d.ts
CHANGED
|
@@ -164,14 +164,6 @@ export declare namespace youtube_v3 {
|
|
|
164
164
|
* The `comment` object contains information about a resource that received a comment. This property is only present if the `snippet.type` is `comment`.
|
|
165
165
|
*/
|
|
166
166
|
comment?: Schema$ActivityContentDetailsComment;
|
|
167
|
-
/**
|
|
168
|
-
* The `favorite` object contains information about a video that was marked as a favorite video. This property is only present if the `snippet.type` is `favorite`. Deprecated: This property is no longer returned.
|
|
169
|
-
*/
|
|
170
|
-
favorite?: Schema$ActivityContentDetailsFavorite;
|
|
171
|
-
/**
|
|
172
|
-
* The `like` object contains information about a resource that received a positive (like) rating. This property is only present if the `snippet.type` is `like`. Deprecated: This property is no longer returned.
|
|
173
|
-
*/
|
|
174
|
-
like?: Schema$ActivityContentDetailsLike;
|
|
175
167
|
/**
|
|
176
168
|
* The `playlistItem` object contains information about a new playlist item. This property is only present if the `snippet.type` is `playlistItem`.
|
|
177
169
|
*/
|
|
@@ -189,7 +181,7 @@ export declare namespace youtube_v3 {
|
|
|
189
181
|
*/
|
|
190
182
|
social?: Schema$ActivityContentDetailsSocial;
|
|
191
183
|
/**
|
|
192
|
-
* The `subscription` object contains information about a channel that a user subscribed to. This property is only present if the `snippet.type` is `subscription`.
|
|
184
|
+
* The `subscription` object contains information about a channel that a user subscribed to. This property is only present if the `snippet.type` is `subscription`.
|
|
193
185
|
*/
|
|
194
186
|
subscription?: Schema$ActivityContentDetailsSubscription;
|
|
195
187
|
/**
|
|
@@ -224,24 +216,6 @@ export declare namespace youtube_v3 {
|
|
|
224
216
|
*/
|
|
225
217
|
resourceId?: Schema$ResourceId;
|
|
226
218
|
}
|
|
227
|
-
/**
|
|
228
|
-
* Information about a video that was marked as a favorite video. Deprecated: This resource is no longer returned.
|
|
229
|
-
*/
|
|
230
|
-
export interface Schema$ActivityContentDetailsFavorite {
|
|
231
|
-
/**
|
|
232
|
-
* The `resourceId` object contains information that identifies the resource that was marked as a favorite.
|
|
233
|
-
*/
|
|
234
|
-
resourceId?: Schema$ResourceId;
|
|
235
|
-
}
|
|
236
|
-
/**
|
|
237
|
-
* Information about a resource that received a positive (like) rating. Deprecated: This resource is no longer returned.
|
|
238
|
-
*/
|
|
239
|
-
export interface Schema$ActivityContentDetailsLike {
|
|
240
|
-
/**
|
|
241
|
-
* The `resourceId` object contains information that identifies the rated resource.
|
|
242
|
-
*/
|
|
243
|
-
resourceId?: Schema$ResourceId;
|
|
244
|
-
}
|
|
245
219
|
/**
|
|
246
220
|
* Information about a new playlist item.
|
|
247
221
|
*/
|
|
@@ -347,7 +321,7 @@ export declare namespace youtube_v3 {
|
|
|
347
321
|
type?: string | null;
|
|
348
322
|
}
|
|
349
323
|
/**
|
|
350
|
-
* Information about a channel that a user subscribed to.
|
|
324
|
+
* Information about a channel that a user subscribed to.
|
|
351
325
|
*/
|
|
352
326
|
export interface Schema$ActivityContentDetailsSubscription {
|
|
353
327
|
/**
|
|
@@ -1280,6 +1254,10 @@ export declare namespace youtube_v3 {
|
|
|
1280
1254
|
* The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video or post comment it's the video/post's channel.
|
|
1281
1255
|
*/
|
|
1282
1256
|
channelId?: string | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* Output only. The URL of the image or animated GIF attached to the comment, if any. This property is only present when a comment contains an image or GIF. The URL is served as a signed link with a six-hour time to live (TTL) and expires six hours after retrieval.
|
|
1259
|
+
*/
|
|
1260
|
+
imageUrl?: string | null;
|
|
1283
1261
|
/**
|
|
1284
1262
|
* The total number of likes this comment has received.
|
|
1285
1263
|
*/
|
|
@@ -1292,10 +1270,6 @@ export declare namespace youtube_v3 {
|
|
|
1292
1270
|
* The unique id of the top-level comment, only set for replies.
|
|
1293
1271
|
*/
|
|
1294
1272
|
parentId?: string | null;
|
|
1295
|
-
/**
|
|
1296
|
-
* The ID of the post the comment refers to, if any.
|
|
1297
|
-
*/
|
|
1298
|
-
postId?: string | null;
|
|
1299
1273
|
/**
|
|
1300
1274
|
* The date and time when the comment was originally published.
|
|
1301
1275
|
*/
|
|
@@ -1411,10 +1385,6 @@ export declare namespace youtube_v3 {
|
|
|
1411
1385
|
* Whether the thread (and therefore all its comments) is visible to all YouTube users.
|
|
1412
1386
|
*/
|
|
1413
1387
|
isPublic?: boolean | null;
|
|
1414
|
-
/**
|
|
1415
|
-
* The ID of the post the comments refer to, if any.
|
|
1416
|
-
*/
|
|
1417
|
-
postId?: string | null;
|
|
1418
1388
|
/**
|
|
1419
1389
|
* The top level comment of this thread.
|
|
1420
1390
|
*/
|
|
@@ -2385,7 +2355,7 @@ export declare namespace youtube_v3 {
|
|
|
2385
2355
|
userComment?: string | null;
|
|
2386
2356
|
}
|
|
2387
2357
|
/**
|
|
2388
|
-
* Details about the gift event, this is only set if the type is
|
|
2358
|
+
* Details about the gift event, this is only set if the type is `giftEvent`.
|
|
2389
2359
|
*/
|
|
2390
2360
|
export interface Schema$LiveChatGiftDetails {
|
|
2391
2361
|
/**
|
|
@@ -2423,7 +2393,7 @@ export declare namespace youtube_v3 {
|
|
|
2423
2393
|
}
|
|
2424
2394
|
export interface Schema$LiveChatGiftMembershipReceivedDetails {
|
|
2425
2395
|
/**
|
|
2426
|
-
* The ID of the membership gifting message that is related to this gift membership. This ID will always refer to a message whose type is
|
|
2396
|
+
* The ID of the membership gifting message that is related to this gift membership. This ID will always refer to a message whose type is `membershipGiftingEvent`.
|
|
2427
2397
|
*/
|
|
2428
2398
|
associatedMembershipGiftingMessageId?: string | null;
|
|
2429
2399
|
/**
|
|
@@ -2536,7 +2506,7 @@ export declare namespace youtube_v3 {
|
|
|
2536
2506
|
eventId?: string | null;
|
|
2537
2507
|
items?: Schema$LiveChatMessage[];
|
|
2538
2508
|
/**
|
|
2539
|
-
* Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessageListResponse"
|
|
2509
|
+
* Identifies what kind of resource this is. Value: the fixed string `"youtube#liveChatMessageListResponse"`.
|
|
2540
2510
|
*/
|
|
2541
2511
|
kind?: string | null;
|
|
2542
2512
|
nextPageToken?: string | null;
|
|
@@ -2554,7 +2524,7 @@ export declare namespace youtube_v3 {
|
|
|
2554
2524
|
pollingIntervalMillis?: number | null;
|
|
2555
2525
|
tokenPagination?: Schema$TokenPagination;
|
|
2556
2526
|
/**
|
|
2557
|
-
*
|
|
2527
|
+
* Identifies the visitor.
|
|
2558
2528
|
*/
|
|
2559
2529
|
visitorId?: string | null;
|
|
2560
2530
|
}
|
|
@@ -2574,15 +2544,15 @@ export declare namespace youtube_v3 {
|
|
|
2574
2544
|
*/
|
|
2575
2545
|
displayMessage?: string | null;
|
|
2576
2546
|
/**
|
|
2577
|
-
* Details about the funding event, this is only set if the type is
|
|
2547
|
+
* Details about the funding event, this is only set if the type is `fanFundingEvent`.
|
|
2578
2548
|
*/
|
|
2579
2549
|
fanFundingEventDetails?: Schema$LiveChatFanFundingEventDetails;
|
|
2580
2550
|
/**
|
|
2581
|
-
* Details about the gift event, this is only set if the type is
|
|
2551
|
+
* Details about the gift event, this is only set if the type is `giftEvent`.
|
|
2582
2552
|
*/
|
|
2583
2553
|
giftDetails?: Schema$LiveChatGiftDetails;
|
|
2584
2554
|
/**
|
|
2585
|
-
* Details about the Gift Membership Received event, this is only set if the type is
|
|
2555
|
+
* Details about the Gift Membership Received event, this is only set if the type is `giftMembershipReceivedEvent`.
|
|
2586
2556
|
*/
|
|
2587
2557
|
giftMembershipReceivedDetails?: Schema$LiveChatGiftMembershipReceivedDetails;
|
|
2588
2558
|
/**
|
|
@@ -2591,21 +2561,21 @@ export declare namespace youtube_v3 {
|
|
|
2591
2561
|
hasDisplayContent?: boolean | null;
|
|
2592
2562
|
liveChatId?: string | null;
|
|
2593
2563
|
/**
|
|
2594
|
-
* Details about the Member Milestone Chat event, this is only set if the type is
|
|
2564
|
+
* Details about the Member Milestone Chat event, this is only set if the type is `memberMilestoneChatEvent`.
|
|
2595
2565
|
*/
|
|
2596
2566
|
memberMilestoneChatDetails?: Schema$LiveChatMemberMilestoneChatDetails;
|
|
2597
2567
|
/**
|
|
2598
|
-
* Details about the Membership Gifting event, this is only set if the type is
|
|
2568
|
+
* Details about the Membership Gifting event, this is only set if the type is `membershipGiftingEvent`.
|
|
2599
2569
|
*/
|
|
2600
2570
|
membershipGiftingDetails?: Schema$LiveChatMembershipGiftingDetails;
|
|
2601
2571
|
messageDeletedDetails?: Schema$LiveChatMessageDeletedDetails;
|
|
2602
2572
|
messageRetractedDetails?: Schema$LiveChatMessageRetractedDetails;
|
|
2603
2573
|
/**
|
|
2604
|
-
* Details about the New Member Announcement event, this is only set if the type is
|
|
2574
|
+
* Details about the New Member Announcement event, this is only set if the type is `newSponsorEvent`. The term "member" replaces "sponsor".
|
|
2605
2575
|
*/
|
|
2606
2576
|
newSponsorDetails?: Schema$LiveChatNewSponsorDetails;
|
|
2607
2577
|
/**
|
|
2608
|
-
* Details about the poll event, this is only set if the type is
|
|
2578
|
+
* Details about the poll event, this is only set if the type is `pollEvent`.
|
|
2609
2579
|
*/
|
|
2610
2580
|
pollDetails?: Schema$LiveChatPollDetails;
|
|
2611
2581
|
/**
|
|
@@ -2613,15 +2583,15 @@ export declare namespace youtube_v3 {
|
|
|
2613
2583
|
*/
|
|
2614
2584
|
publishedAt?: string | null;
|
|
2615
2585
|
/**
|
|
2616
|
-
* Details about the Super Chat event, this is only set if the type is
|
|
2586
|
+
* Details about the Super Chat event, this is only set if the type is `superChatEvent`.
|
|
2617
2587
|
*/
|
|
2618
2588
|
superChatDetails?: Schema$LiveChatSuperChatDetails;
|
|
2619
2589
|
/**
|
|
2620
|
-
* Details about the Super Sticker event, this is only set if the type is
|
|
2590
|
+
* Details about the Super Sticker event, this is only set if the type is `superStickerEvent`.
|
|
2621
2591
|
*/
|
|
2622
2592
|
superStickerDetails?: Schema$LiveChatSuperStickerDetails;
|
|
2623
2593
|
/**
|
|
2624
|
-
* Details about the text message, this is only set if the type is
|
|
2594
|
+
* Details about the text message, this is only set if the type is `textMessageEvent`.
|
|
2625
2595
|
*/
|
|
2626
2596
|
textMessageDetails?: Schema$LiveChatTextMessageDetails;
|
|
2627
2597
|
/**
|
|
@@ -2735,7 +2705,7 @@ export declare namespace youtube_v3 {
|
|
|
2735
2705
|
*/
|
|
2736
2706
|
currency?: string | null;
|
|
2737
2707
|
/**
|
|
2738
|
-
* The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1
|
|
2708
|
+
* The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is `1`.
|
|
2739
2709
|
*/
|
|
2740
2710
|
tier?: number | null;
|
|
2741
2711
|
/**
|
|
@@ -2761,7 +2731,7 @@ export declare namespace youtube_v3 {
|
|
|
2761
2731
|
*/
|
|
2762
2732
|
superStickerMetadata?: Schema$SuperStickerMetadata;
|
|
2763
2733
|
/**
|
|
2764
|
-
* The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1
|
|
2734
|
+
* The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is `1`.
|
|
2765
2735
|
*/
|
|
2766
2736
|
tier?: number | null;
|
|
2767
2737
|
}
|
|
@@ -2773,7 +2743,7 @@ export declare namespace youtube_v3 {
|
|
|
2773
2743
|
}
|
|
2774
2744
|
export interface Schema$LiveChatUserBannedMessageDetails {
|
|
2775
2745
|
/**
|
|
2776
|
-
* The duration of the ban. This property is only present if the banType is temporary
|
|
2746
|
+
* The duration of the ban. This property is only present if the `banType` is `temporary`.
|
|
2777
2747
|
*/
|
|
2778
2748
|
banDurationSeconds?: string | null;
|
|
2779
2749
|
/**
|
|
@@ -4752,7 +4722,7 @@ export declare namespace youtube_v3 {
|
|
|
4752
4722
|
viewCount?: string | null;
|
|
4753
4723
|
}
|
|
4754
4724
|
/**
|
|
4755
|
-
* Basic details about a video category, such as its localized title. Next Id:
|
|
4725
|
+
* Basic details about a video category, such as its localized title. Next Id: 20
|
|
4756
4726
|
*/
|
|
4757
4727
|
export interface Schema$VideoStatus {
|
|
4758
4728
|
/**
|
|
@@ -4764,7 +4734,7 @@ export declare namespace youtube_v3 {
|
|
|
4764
4734
|
*/
|
|
4765
4735
|
embeddable?: boolean | null;
|
|
4766
4736
|
/**
|
|
4767
|
-
* This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed.
|
|
4737
|
+
* This value explains why a video failed to upload. This property is only present if the `uploadStatus` property indicates that the upload failed.
|
|
4768
4738
|
*/
|
|
4769
4739
|
failureReason?: string | null;
|
|
4770
4740
|
/**
|
|
@@ -4773,7 +4743,7 @@ export declare namespace youtube_v3 {
|
|
|
4773
4743
|
license?: string | null;
|
|
4774
4744
|
madeForKids?: boolean | null;
|
|
4775
4745
|
/**
|
|
4776
|
-
* The video's privacy status.
|
|
4746
|
+
* The video's privacy status. In a `videos.insert` request, if you don't specify a value for this property, the uploaded video's privacy status defaults to `public`. Certain uploads might default to `private` based on creator account settings, as explained in the [YouTube Help Center](https://support.google.com/youtube/answer/157177). Videos uploaded from unverified API projects are not restricted to private viewing mode.
|
|
4777
4747
|
*/
|
|
4778
4748
|
privacyStatus?: string | null;
|
|
4779
4749
|
/**
|
|
@@ -4785,7 +4755,7 @@ export declare namespace youtube_v3 {
|
|
|
4785
4755
|
*/
|
|
4786
4756
|
publishAt?: string | null;
|
|
4787
4757
|
/**
|
|
4788
|
-
* This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.
|
|
4758
|
+
* This value explains why YouTube rejected an uploaded video. This property is only present if the `uploadStatus` property indicates that the upload was rejected.
|
|
4789
4759
|
*/
|
|
4790
4760
|
rejectionReason?: string | null;
|
|
4791
4761
|
selfDeclaredMadeForKids?: boolean | null;
|
|
@@ -5868,7 +5838,7 @@ export declare namespace youtube_v3 {
|
|
|
5868
5838
|
*
|
|
5869
5839
|
* // Do the magic
|
|
5870
5840
|
* const res = await youtube.channels.update({
|
|
5871
|
-
* // The *onBehalfOfContentOwner* parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner.
|
|
5841
|
+
* // The *onBehalfOfContentOwner* parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner. This parameter must be provided if the request is authenticated with credentials for a CMS content owner user acting on a managed channel. If omitted, the request executes under the authenticated user's direct context and returns an HTTP 403 Forbidden error.
|
|
5872
5842
|
* onBehalfOfContentOwner: 'placeholder-value',
|
|
5873
5843
|
* // 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 will include. The API currently only allows the parameter value to be set to either brandingSettings or invideoPromotion. (You cannot update both of those parts with a single request.) Note that this method overrides the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies.
|
|
5874
5844
|
* part: 'placeholder-value',
|
|
@@ -5984,7 +5954,7 @@ export declare namespace youtube_v3 {
|
|
|
5984
5954
|
}
|
|
5985
5955
|
export interface Params$Resource$Channels$Update extends StandardParameters {
|
|
5986
5956
|
/**
|
|
5987
|
-
* The *onBehalfOfContentOwner* parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner.
|
|
5957
|
+
* The *onBehalfOfContentOwner* parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner. This parameter must be provided if the request is authenticated with credentials for a CMS content owner user acting on a managed channel. If omitted, the request executes under the authenticated user's direct context and returns an HTTP 403 Forbidden error.
|
|
5988
5958
|
*/
|
|
5989
5959
|
onBehalfOfContentOwner?: string;
|
|
5990
5960
|
/**
|
|
@@ -6976,8 +6946,6 @@ export declare namespace youtube_v3 {
|
|
|
6976
6946
|
* pageToken: 'placeholder-value',
|
|
6977
6947
|
* // The *part* parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.
|
|
6978
6948
|
* part: 'placeholder-value',
|
|
6979
|
-
* // Returns the comment threads of the specified post.
|
|
6980
|
-
* postId: 'placeholder-value',
|
|
6981
6949
|
* // Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter.
|
|
6982
6950
|
* searchTerms: 'placeholder-value',
|
|
6983
6951
|
* // The requested text format for the returned comments.
|
|
@@ -7062,10 +7030,6 @@ export declare namespace youtube_v3 {
|
|
|
7062
7030
|
* The *part* parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.
|
|
7063
7031
|
*/
|
|
7064
7032
|
part?: string[];
|
|
7065
|
-
/**
|
|
7066
|
-
* Returns the comment threads of the specified post.
|
|
7067
|
-
*/
|
|
7068
|
-
postId?: string;
|
|
7069
7033
|
/**
|
|
7070
7034
|
* Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter.
|
|
7071
7035
|
*/
|
|
@@ -8135,7 +8099,7 @@ export declare namespace youtube_v3 {
|
|
|
8135
8099
|
context: APIRequestContext;
|
|
8136
8100
|
constructor(context: APIRequestContext);
|
|
8137
8101
|
/**
|
|
8138
|
-
* Deletes a chat message.
|
|
8102
|
+
* Deletes a chat message. A call to this method has a quota cost of 20 units.
|
|
8139
8103
|
* @example
|
|
8140
8104
|
* ```js
|
|
8141
8105
|
* // Before running the sample:
|
|
@@ -8192,7 +8156,7 @@ export declare namespace youtube_v3 {
|
|
|
8192
8156
|
delete(params: Params$Resource$Livechatmessages$Delete, callback: BodyResponseCallback<void>): void;
|
|
8193
8157
|
delete(callback: BodyResponseCallback<void>): void;
|
|
8194
8158
|
/**
|
|
8195
|
-
* Inserts a new resource into this collection.
|
|
8159
|
+
* Inserts a new resource into this collection. A call to this method has a quota cost of 20 units.
|
|
8196
8160
|
* @example
|
|
8197
8161
|
* ```js
|
|
8198
8162
|
* // Before running the sample:
|
|
@@ -8225,7 +8189,7 @@ export declare namespace youtube_v3 {
|
|
|
8225
8189
|
*
|
|
8226
8190
|
* // Do the magic
|
|
8227
8191
|
* const res = await youtube.liveChatMessages.insert({
|
|
8228
|
-
* // The
|
|
8192
|
+
* // The `part` parameter serves two purposes. It identifies the properties that the write operation sets as well as the properties that the API response includes. Set the parameter value to `snippet`.
|
|
8229
8193
|
* part: 'placeholder-value',
|
|
8230
8194
|
*
|
|
8231
8195
|
* // Request body metadata
|
|
@@ -8271,7 +8235,7 @@ export declare namespace youtube_v3 {
|
|
|
8271
8235
|
insert(params: Params$Resource$Livechatmessages$Insert, callback: BodyResponseCallback<Schema$LiveChatMessage>): void;
|
|
8272
8236
|
insert(callback: BodyResponseCallback<Schema$LiveChatMessage>): void;
|
|
8273
8237
|
/**
|
|
8274
|
-
* Retrieves a list of resources, possibly filtered.
|
|
8238
|
+
* Retrieves a list of resources, possibly filtered. A call to this method has a quota cost of 5 units.
|
|
8275
8239
|
* @example
|
|
8276
8240
|
* ```js
|
|
8277
8241
|
* // Before running the sample:
|
|
@@ -8307,13 +8271,13 @@ export declare namespace youtube_v3 {
|
|
|
8307
8271
|
* const res = await youtube.liveChatMessages.list({
|
|
8308
8272
|
* // Specifies the localization language in which the system messages should be returned.
|
|
8309
8273
|
* hl: 'placeholder-value',
|
|
8310
|
-
* // The
|
|
8274
|
+
* // The ID of the live chat for which messages should be returned.
|
|
8311
8275
|
* liveChatId: 'placeholder-value',
|
|
8312
|
-
* // The
|
|
8276
|
+
* // The `maxResults` parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.
|
|
8313
8277
|
* maxResults: 'placeholder-value',
|
|
8314
|
-
* // The
|
|
8278
|
+
* // The `pageToken` parameter identifies a specific page in the result set that should be returned. In an API response, the `nextPageToken` property identifies other pages that could be retrieved.
|
|
8315
8279
|
* pageToken: 'placeholder-value',
|
|
8316
|
-
* // The
|
|
8280
|
+
* // The `part` parameter specifies the `liveChatMessage` resource parts that the API response includes. Supported values are `id`, `snippet`, and `authorDetails`.
|
|
8317
8281
|
* part: 'placeholder-value',
|
|
8318
8282
|
* // Specifies the size of the profile image that should be returned for each user.
|
|
8319
8283
|
* profileImageSize: 'placeholder-value',
|
|
@@ -8355,7 +8319,7 @@ export declare namespace youtube_v3 {
|
|
|
8355
8319
|
list(params: Params$Resource$Livechatmessages$List, callback: BodyResponseCallback<Schema$LiveChatMessageListResponse>): void;
|
|
8356
8320
|
list(callback: BodyResponseCallback<Schema$LiveChatMessageListResponse>): void;
|
|
8357
8321
|
/**
|
|
8358
|
-
*
|
|
8322
|
+
* Transitions a durable chat event. A call to this method has a quota cost of 20 units.
|
|
8359
8323
|
* @example
|
|
8360
8324
|
* ```js
|
|
8361
8325
|
* // Before running the sample:
|
|
@@ -8388,7 +8352,7 @@ export declare namespace youtube_v3 {
|
|
|
8388
8352
|
*
|
|
8389
8353
|
* // Do the magic
|
|
8390
8354
|
* const res = await youtube.liveChatMessages.transition({
|
|
8391
|
-
* // The ID that uniquely
|
|
8355
|
+
* // The ID that uniquely identifies the chat message event to transition.
|
|
8392
8356
|
* id: 'placeholder-value',
|
|
8393
8357
|
* // The status to which the chat event is going to transition.
|
|
8394
8358
|
* status: 'placeholder-value',
|
|
@@ -8432,7 +8396,7 @@ export declare namespace youtube_v3 {
|
|
|
8432
8396
|
}
|
|
8433
8397
|
export interface Params$Resource$Livechatmessages$Insert extends StandardParameters {
|
|
8434
8398
|
/**
|
|
8435
|
-
* The
|
|
8399
|
+
* The `part` parameter serves two purposes. It identifies the properties that the write operation sets as well as the properties that the API response includes. Set the parameter value to `snippet`.
|
|
8436
8400
|
*/
|
|
8437
8401
|
part?: string[];
|
|
8438
8402
|
/**
|
|
@@ -8446,19 +8410,19 @@ export declare namespace youtube_v3 {
|
|
|
8446
8410
|
*/
|
|
8447
8411
|
hl?: string;
|
|
8448
8412
|
/**
|
|
8449
|
-
* The
|
|
8413
|
+
* The ID of the live chat for which messages should be returned.
|
|
8450
8414
|
*/
|
|
8451
8415
|
liveChatId?: string;
|
|
8452
8416
|
/**
|
|
8453
|
-
* The
|
|
8417
|
+
* The `maxResults` parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.
|
|
8454
8418
|
*/
|
|
8455
8419
|
maxResults?: number;
|
|
8456
8420
|
/**
|
|
8457
|
-
* The
|
|
8421
|
+
* The `pageToken` parameter identifies a specific page in the result set that should be returned. In an API response, the `nextPageToken` property identifies other pages that could be retrieved.
|
|
8458
8422
|
*/
|
|
8459
8423
|
pageToken?: string;
|
|
8460
8424
|
/**
|
|
8461
|
-
* The
|
|
8425
|
+
* The `part` parameter specifies the `liveChatMessage` resource parts that the API response includes. Supported values are `id`, `snippet`, and `authorDetails`.
|
|
8462
8426
|
*/
|
|
8463
8427
|
part?: string[];
|
|
8464
8428
|
/**
|
|
@@ -8468,7 +8432,7 @@ export declare namespace youtube_v3 {
|
|
|
8468
8432
|
}
|
|
8469
8433
|
export interface Params$Resource$Livechatmessages$Transition extends StandardParameters {
|
|
8470
8434
|
/**
|
|
8471
|
-
* The ID that uniquely
|
|
8435
|
+
* The ID that uniquely identifies the chat message event to transition.
|
|
8472
8436
|
*/
|
|
8473
8437
|
id?: string;
|
|
8474
8438
|
/**
|
|
@@ -13038,7 +13002,7 @@ export declare namespace youtube_v3 {
|
|
|
13038
13002
|
context: APIRequestContext;
|
|
13039
13003
|
constructor(context: APIRequestContext);
|
|
13040
13004
|
/**
|
|
13041
|
-
* Allows a user to load live chat through a server-streamed RPC.
|
|
13005
|
+
* Allows a user to load live chat through a server-streamed RPC. A call to this method has a quota cost of 5 units.
|
|
13042
13006
|
* @example
|
|
13043
13007
|
* ```js
|
|
13044
13008
|
* // Before running the sample:
|
|
@@ -13074,13 +13038,13 @@ export declare namespace youtube_v3 {
|
|
|
13074
13038
|
* const res = await youtube.youtube.v3.liveChat.messages.stream({
|
|
13075
13039
|
* // Specifies the localization language in which the system messages should be returned.
|
|
13076
13040
|
* hl: 'placeholder-value',
|
|
13077
|
-
* // The
|
|
13041
|
+
* // The ID of the live chat for which messages should be returned.
|
|
13078
13042
|
* liveChatId: 'placeholder-value',
|
|
13079
|
-
* // The
|
|
13043
|
+
* // The `maxResults` parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.
|
|
13080
13044
|
* maxResults: 'placeholder-value',
|
|
13081
|
-
* // The
|
|
13045
|
+
* // The `pageToken` parameter identifies a specific page in the result set that should be returned. In an API response, the `nextPageToken` property identifies other pages that could be retrieved.
|
|
13082
13046
|
* pageToken: 'placeholder-value',
|
|
13083
|
-
* // The
|
|
13047
|
+
* // The `part` parameter specifies the `liveChatMessage` resource parts that the API response includes. Supported values are `id`, `snippet`, and `authorDetails`.
|
|
13084
13048
|
* part: 'placeholder-value',
|
|
13085
13049
|
* // Specifies the size of the profile image that should be returned for each user.
|
|
13086
13050
|
* profileImageSize: 'placeholder-value',
|
|
@@ -13128,19 +13092,19 @@ export declare namespace youtube_v3 {
|
|
|
13128
13092
|
*/
|
|
13129
13093
|
hl?: string;
|
|
13130
13094
|
/**
|
|
13131
|
-
* The
|
|
13095
|
+
* The ID of the live chat for which messages should be returned.
|
|
13132
13096
|
*/
|
|
13133
13097
|
liveChatId?: string;
|
|
13134
13098
|
/**
|
|
13135
|
-
* The
|
|
13099
|
+
* The `maxResults` parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.
|
|
13136
13100
|
*/
|
|
13137
13101
|
maxResults?: number;
|
|
13138
13102
|
/**
|
|
13139
|
-
* The
|
|
13103
|
+
* The `pageToken` parameter identifies a specific page in the result set that should be returned. In an API response, the `nextPageToken` property identifies other pages that could be retrieved.
|
|
13140
13104
|
*/
|
|
13141
13105
|
pageToken?: string;
|
|
13142
13106
|
/**
|
|
13143
|
-
* The
|
|
13107
|
+
* The `part` parameter specifies the `liveChatMessage` resource parts that the API response includes. Supported values are `id`, `snippet`, and `authorDetails`.
|
|
13144
13108
|
*/
|
|
13145
13109
|
part?: string[];
|
|
13146
13110
|
/**
|