@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/v3.ts
CHANGED
|
@@ -251,14 +251,6 @@ export namespace youtube_v3 {
|
|
|
251
251
|
* The `comment` object contains information about a resource that received a comment. This property is only present if the `snippet.type` is `comment`.
|
|
252
252
|
*/
|
|
253
253
|
comment?: Schema$ActivityContentDetailsComment;
|
|
254
|
-
/**
|
|
255
|
-
* 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.
|
|
256
|
-
*/
|
|
257
|
-
favorite?: Schema$ActivityContentDetailsFavorite;
|
|
258
|
-
/**
|
|
259
|
-
* 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.
|
|
260
|
-
*/
|
|
261
|
-
like?: Schema$ActivityContentDetailsLike;
|
|
262
254
|
/**
|
|
263
255
|
* The `playlistItem` object contains information about a new playlist item. This property is only present if the `snippet.type` is `playlistItem`.
|
|
264
256
|
*/
|
|
@@ -276,7 +268,7 @@ export namespace youtube_v3 {
|
|
|
276
268
|
*/
|
|
277
269
|
social?: Schema$ActivityContentDetailsSocial;
|
|
278
270
|
/**
|
|
279
|
-
* The `subscription` object contains information about a channel that a user subscribed to. This property is only present if the `snippet.type` is `subscription`.
|
|
271
|
+
* The `subscription` object contains information about a channel that a user subscribed to. This property is only present if the `snippet.type` is `subscription`.
|
|
280
272
|
*/
|
|
281
273
|
subscription?: Schema$ActivityContentDetailsSubscription;
|
|
282
274
|
/**
|
|
@@ -311,24 +303,6 @@ export namespace youtube_v3 {
|
|
|
311
303
|
*/
|
|
312
304
|
resourceId?: Schema$ResourceId;
|
|
313
305
|
}
|
|
314
|
-
/**
|
|
315
|
-
* Information about a video that was marked as a favorite video. Deprecated: This resource is no longer returned.
|
|
316
|
-
*/
|
|
317
|
-
export interface Schema$ActivityContentDetailsFavorite {
|
|
318
|
-
/**
|
|
319
|
-
* The `resourceId` object contains information that identifies the resource that was marked as a favorite.
|
|
320
|
-
*/
|
|
321
|
-
resourceId?: Schema$ResourceId;
|
|
322
|
-
}
|
|
323
|
-
/**
|
|
324
|
-
* Information about a resource that received a positive (like) rating. Deprecated: This resource is no longer returned.
|
|
325
|
-
*/
|
|
326
|
-
export interface Schema$ActivityContentDetailsLike {
|
|
327
|
-
/**
|
|
328
|
-
* The `resourceId` object contains information that identifies the rated resource.
|
|
329
|
-
*/
|
|
330
|
-
resourceId?: Schema$ResourceId;
|
|
331
|
-
}
|
|
332
306
|
/**
|
|
333
307
|
* Information about a new playlist item.
|
|
334
308
|
*/
|
|
@@ -434,7 +408,7 @@ export namespace youtube_v3 {
|
|
|
434
408
|
type?: string | null;
|
|
435
409
|
}
|
|
436
410
|
/**
|
|
437
|
-
* Information about a channel that a user subscribed to.
|
|
411
|
+
* Information about a channel that a user subscribed to.
|
|
438
412
|
*/
|
|
439
413
|
export interface Schema$ActivityContentDetailsSubscription {
|
|
440
414
|
/**
|
|
@@ -1363,6 +1337,10 @@ export namespace youtube_v3 {
|
|
|
1363
1337
|
* 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.
|
|
1364
1338
|
*/
|
|
1365
1339
|
channelId?: string | null;
|
|
1340
|
+
/**
|
|
1341
|
+
* 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.
|
|
1342
|
+
*/
|
|
1343
|
+
imageUrl?: string | null;
|
|
1366
1344
|
/**
|
|
1367
1345
|
* The total number of likes this comment has received.
|
|
1368
1346
|
*/
|
|
@@ -1375,10 +1353,6 @@ export namespace youtube_v3 {
|
|
|
1375
1353
|
* The unique id of the top-level comment, only set for replies.
|
|
1376
1354
|
*/
|
|
1377
1355
|
parentId?: string | null;
|
|
1378
|
-
/**
|
|
1379
|
-
* The ID of the post the comment refers to, if any.
|
|
1380
|
-
*/
|
|
1381
|
-
postId?: string | null;
|
|
1382
1356
|
/**
|
|
1383
1357
|
* The date and time when the comment was originally published.
|
|
1384
1358
|
*/
|
|
@@ -1494,10 +1468,6 @@ export namespace youtube_v3 {
|
|
|
1494
1468
|
* Whether the thread (and therefore all its comments) is visible to all YouTube users.
|
|
1495
1469
|
*/
|
|
1496
1470
|
isPublic?: boolean | null;
|
|
1497
|
-
/**
|
|
1498
|
-
* The ID of the post the comments refer to, if any.
|
|
1499
|
-
*/
|
|
1500
|
-
postId?: string | null;
|
|
1501
1471
|
/**
|
|
1502
1472
|
* The top level comment of this thread.
|
|
1503
1473
|
*/
|
|
@@ -2468,7 +2438,7 @@ export namespace youtube_v3 {
|
|
|
2468
2438
|
userComment?: string | null;
|
|
2469
2439
|
}
|
|
2470
2440
|
/**
|
|
2471
|
-
* Details about the gift event, this is only set if the type is
|
|
2441
|
+
* Details about the gift event, this is only set if the type is `giftEvent`.
|
|
2472
2442
|
*/
|
|
2473
2443
|
export interface Schema$LiveChatGiftDetails {
|
|
2474
2444
|
/**
|
|
@@ -2506,7 +2476,7 @@ export namespace youtube_v3 {
|
|
|
2506
2476
|
}
|
|
2507
2477
|
export interface Schema$LiveChatGiftMembershipReceivedDetails {
|
|
2508
2478
|
/**
|
|
2509
|
-
* 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
|
|
2479
|
+
* 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`.
|
|
2510
2480
|
*/
|
|
2511
2481
|
associatedMembershipGiftingMessageId?: string | null;
|
|
2512
2482
|
/**
|
|
@@ -2619,7 +2589,7 @@ export namespace youtube_v3 {
|
|
|
2619
2589
|
eventId?: string | null;
|
|
2620
2590
|
items?: Schema$LiveChatMessage[];
|
|
2621
2591
|
/**
|
|
2622
|
-
* Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessageListResponse"
|
|
2592
|
+
* Identifies what kind of resource this is. Value: the fixed string `"youtube#liveChatMessageListResponse"`.
|
|
2623
2593
|
*/
|
|
2624
2594
|
kind?: string | null;
|
|
2625
2595
|
nextPageToken?: string | null;
|
|
@@ -2637,7 +2607,7 @@ export namespace youtube_v3 {
|
|
|
2637
2607
|
pollingIntervalMillis?: number | null;
|
|
2638
2608
|
tokenPagination?: Schema$TokenPagination;
|
|
2639
2609
|
/**
|
|
2640
|
-
*
|
|
2610
|
+
* Identifies the visitor.
|
|
2641
2611
|
*/
|
|
2642
2612
|
visitorId?: string | null;
|
|
2643
2613
|
}
|
|
@@ -2657,15 +2627,15 @@ export namespace youtube_v3 {
|
|
|
2657
2627
|
*/
|
|
2658
2628
|
displayMessage?: string | null;
|
|
2659
2629
|
/**
|
|
2660
|
-
* Details about the funding event, this is only set if the type is
|
|
2630
|
+
* Details about the funding event, this is only set if the type is `fanFundingEvent`.
|
|
2661
2631
|
*/
|
|
2662
2632
|
fanFundingEventDetails?: Schema$LiveChatFanFundingEventDetails;
|
|
2663
2633
|
/**
|
|
2664
|
-
* Details about the gift event, this is only set if the type is
|
|
2634
|
+
* Details about the gift event, this is only set if the type is `giftEvent`.
|
|
2665
2635
|
*/
|
|
2666
2636
|
giftDetails?: Schema$LiveChatGiftDetails;
|
|
2667
2637
|
/**
|
|
2668
|
-
* Details about the Gift Membership Received event, this is only set if the type is
|
|
2638
|
+
* Details about the Gift Membership Received event, this is only set if the type is `giftMembershipReceivedEvent`.
|
|
2669
2639
|
*/
|
|
2670
2640
|
giftMembershipReceivedDetails?: Schema$LiveChatGiftMembershipReceivedDetails;
|
|
2671
2641
|
/**
|
|
@@ -2674,21 +2644,21 @@ export namespace youtube_v3 {
|
|
|
2674
2644
|
hasDisplayContent?: boolean | null;
|
|
2675
2645
|
liveChatId?: string | null;
|
|
2676
2646
|
/**
|
|
2677
|
-
* Details about the Member Milestone Chat event, this is only set if the type is
|
|
2647
|
+
* Details about the Member Milestone Chat event, this is only set if the type is `memberMilestoneChatEvent`.
|
|
2678
2648
|
*/
|
|
2679
2649
|
memberMilestoneChatDetails?: Schema$LiveChatMemberMilestoneChatDetails;
|
|
2680
2650
|
/**
|
|
2681
|
-
* Details about the Membership Gifting event, this is only set if the type is
|
|
2651
|
+
* Details about the Membership Gifting event, this is only set if the type is `membershipGiftingEvent`.
|
|
2682
2652
|
*/
|
|
2683
2653
|
membershipGiftingDetails?: Schema$LiveChatMembershipGiftingDetails;
|
|
2684
2654
|
messageDeletedDetails?: Schema$LiveChatMessageDeletedDetails;
|
|
2685
2655
|
messageRetractedDetails?: Schema$LiveChatMessageRetractedDetails;
|
|
2686
2656
|
/**
|
|
2687
|
-
* Details about the New Member Announcement event, this is only set if the type is
|
|
2657
|
+
* Details about the New Member Announcement event, this is only set if the type is `newSponsorEvent`. The term "member" replaces "sponsor".
|
|
2688
2658
|
*/
|
|
2689
2659
|
newSponsorDetails?: Schema$LiveChatNewSponsorDetails;
|
|
2690
2660
|
/**
|
|
2691
|
-
* Details about the poll event, this is only set if the type is
|
|
2661
|
+
* Details about the poll event, this is only set if the type is `pollEvent`.
|
|
2692
2662
|
*/
|
|
2693
2663
|
pollDetails?: Schema$LiveChatPollDetails;
|
|
2694
2664
|
/**
|
|
@@ -2696,15 +2666,15 @@ export namespace youtube_v3 {
|
|
|
2696
2666
|
*/
|
|
2697
2667
|
publishedAt?: string | null;
|
|
2698
2668
|
/**
|
|
2699
|
-
* Details about the Super Chat event, this is only set if the type is
|
|
2669
|
+
* Details about the Super Chat event, this is only set if the type is `superChatEvent`.
|
|
2700
2670
|
*/
|
|
2701
2671
|
superChatDetails?: Schema$LiveChatSuperChatDetails;
|
|
2702
2672
|
/**
|
|
2703
|
-
* Details about the Super Sticker event, this is only set if the type is
|
|
2673
|
+
* Details about the Super Sticker event, this is only set if the type is `superStickerEvent`.
|
|
2704
2674
|
*/
|
|
2705
2675
|
superStickerDetails?: Schema$LiveChatSuperStickerDetails;
|
|
2706
2676
|
/**
|
|
2707
|
-
* Details about the text message, this is only set if the type is
|
|
2677
|
+
* Details about the text message, this is only set if the type is `textMessageEvent`.
|
|
2708
2678
|
*/
|
|
2709
2679
|
textMessageDetails?: Schema$LiveChatTextMessageDetails;
|
|
2710
2680
|
/**
|
|
@@ -2818,7 +2788,7 @@ export namespace youtube_v3 {
|
|
|
2818
2788
|
*/
|
|
2819
2789
|
currency?: string | null;
|
|
2820
2790
|
/**
|
|
2821
|
-
* The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1
|
|
2791
|
+
* The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is `1`.
|
|
2822
2792
|
*/
|
|
2823
2793
|
tier?: number | null;
|
|
2824
2794
|
/**
|
|
@@ -2844,7 +2814,7 @@ export namespace youtube_v3 {
|
|
|
2844
2814
|
*/
|
|
2845
2815
|
superStickerMetadata?: Schema$SuperStickerMetadata;
|
|
2846
2816
|
/**
|
|
2847
|
-
* The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1
|
|
2817
|
+
* The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is `1`.
|
|
2848
2818
|
*/
|
|
2849
2819
|
tier?: number | null;
|
|
2850
2820
|
}
|
|
@@ -2856,7 +2826,7 @@ export namespace youtube_v3 {
|
|
|
2856
2826
|
}
|
|
2857
2827
|
export interface Schema$LiveChatUserBannedMessageDetails {
|
|
2858
2828
|
/**
|
|
2859
|
-
* The duration of the ban. This property is only present if the banType is temporary
|
|
2829
|
+
* The duration of the ban. This property is only present if the `banType` is `temporary`.
|
|
2860
2830
|
*/
|
|
2861
2831
|
banDurationSeconds?: string | null;
|
|
2862
2832
|
/**
|
|
@@ -4828,7 +4798,7 @@ export namespace youtube_v3 {
|
|
|
4828
4798
|
viewCount?: string | null;
|
|
4829
4799
|
}
|
|
4830
4800
|
/**
|
|
4831
|
-
* Basic details about a video category, such as its localized title. Next Id:
|
|
4801
|
+
* Basic details about a video category, such as its localized title. Next Id: 20
|
|
4832
4802
|
*/
|
|
4833
4803
|
export interface Schema$VideoStatus {
|
|
4834
4804
|
/**
|
|
@@ -4840,7 +4810,7 @@ export namespace youtube_v3 {
|
|
|
4840
4810
|
*/
|
|
4841
4811
|
embeddable?: boolean | null;
|
|
4842
4812
|
/**
|
|
4843
|
-
* This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed.
|
|
4813
|
+
* This value explains why a video failed to upload. This property is only present if the `uploadStatus` property indicates that the upload failed.
|
|
4844
4814
|
*/
|
|
4845
4815
|
failureReason?: string | null;
|
|
4846
4816
|
/**
|
|
@@ -4849,7 +4819,7 @@ export namespace youtube_v3 {
|
|
|
4849
4819
|
license?: string | null;
|
|
4850
4820
|
madeForKids?: boolean | null;
|
|
4851
4821
|
/**
|
|
4852
|
-
* The video's privacy status.
|
|
4822
|
+
* 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.
|
|
4853
4823
|
*/
|
|
4854
4824
|
privacyStatus?: string | null;
|
|
4855
4825
|
/**
|
|
@@ -4861,7 +4831,7 @@ export namespace youtube_v3 {
|
|
|
4861
4831
|
*/
|
|
4862
4832
|
publishAt?: string | null;
|
|
4863
4833
|
/**
|
|
4864
|
-
* This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.
|
|
4834
|
+
* This value explains why YouTube rejected an uploaded video. This property is only present if the `uploadStatus` property indicates that the upload was rejected.
|
|
4865
4835
|
*/
|
|
4866
4836
|
rejectionReason?: string | null;
|
|
4867
4837
|
selfDeclaredMadeForKids?: boolean | null;
|
|
@@ -6668,7 +6638,7 @@ export namespace youtube_v3 {
|
|
|
6668
6638
|
*
|
|
6669
6639
|
* // Do the magic
|
|
6670
6640
|
* const res = await youtube.channels.update({
|
|
6671
|
-
* // 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.
|
|
6641
|
+
* // 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.
|
|
6672
6642
|
* onBehalfOfContentOwner: 'placeholder-value',
|
|
6673
6643
|
* // 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.
|
|
6674
6644
|
* part: 'placeholder-value',
|
|
@@ -6859,7 +6829,7 @@ export namespace youtube_v3 {
|
|
|
6859
6829
|
}
|
|
6860
6830
|
export interface Params$Resource$Channels$Update extends StandardParameters {
|
|
6861
6831
|
/**
|
|
6862
|
-
* 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.
|
|
6832
|
+
* 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.
|
|
6863
6833
|
*/
|
|
6864
6834
|
onBehalfOfContentOwner?: string;
|
|
6865
6835
|
/**
|
|
@@ -8704,8 +8674,6 @@ export namespace youtube_v3 {
|
|
|
8704
8674
|
* pageToken: 'placeholder-value',
|
|
8705
8675
|
* // The *part* parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.
|
|
8706
8676
|
* part: 'placeholder-value',
|
|
8707
|
-
* // Returns the comment threads of the specified post.
|
|
8708
|
-
* postId: 'placeholder-value',
|
|
8709
8677
|
* // Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter.
|
|
8710
8678
|
* searchTerms: 'placeholder-value',
|
|
8711
8679
|
* // The requested text format for the returned comments.
|
|
@@ -8871,10 +8839,6 @@ export namespace youtube_v3 {
|
|
|
8871
8839
|
* The *part* parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.
|
|
8872
8840
|
*/
|
|
8873
8841
|
part?: string[];
|
|
8874
|
-
/**
|
|
8875
|
-
* Returns the comment threads of the specified post.
|
|
8876
|
-
*/
|
|
8877
|
-
postId?: string;
|
|
8878
8842
|
/**
|
|
8879
8843
|
* Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter.
|
|
8880
8844
|
*/
|
|
@@ -10814,7 +10778,7 @@ export namespace youtube_v3 {
|
|
|
10814
10778
|
}
|
|
10815
10779
|
|
|
10816
10780
|
/**
|
|
10817
|
-
* Deletes a chat message.
|
|
10781
|
+
* Deletes a chat message. A call to this method has a quota cost of 20 units.
|
|
10818
10782
|
* @example
|
|
10819
10783
|
* ```js
|
|
10820
10784
|
* // Before running the sample:
|
|
@@ -10946,7 +10910,7 @@ export namespace youtube_v3 {
|
|
|
10946
10910
|
}
|
|
10947
10911
|
|
|
10948
10912
|
/**
|
|
10949
|
-
* Inserts a new resource into this collection.
|
|
10913
|
+
* Inserts a new resource into this collection. A call to this method has a quota cost of 20 units.
|
|
10950
10914
|
* @example
|
|
10951
10915
|
* ```js
|
|
10952
10916
|
* // Before running the sample:
|
|
@@ -10979,7 +10943,7 @@ export namespace youtube_v3 {
|
|
|
10979
10943
|
*
|
|
10980
10944
|
* // Do the magic
|
|
10981
10945
|
* const res = await youtube.liveChatMessages.insert({
|
|
10982
|
-
* // The
|
|
10946
|
+
* // 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`.
|
|
10983
10947
|
* part: 'placeholder-value',
|
|
10984
10948
|
*
|
|
10985
10949
|
* // Request body metadata
|
|
@@ -11102,7 +11066,7 @@ export namespace youtube_v3 {
|
|
|
11102
11066
|
}
|
|
11103
11067
|
|
|
11104
11068
|
/**
|
|
11105
|
-
* Retrieves a list of resources, possibly filtered.
|
|
11069
|
+
* Retrieves a list of resources, possibly filtered. A call to this method has a quota cost of 5 units.
|
|
11106
11070
|
* @example
|
|
11107
11071
|
* ```js
|
|
11108
11072
|
* // Before running the sample:
|
|
@@ -11138,13 +11102,13 @@ export namespace youtube_v3 {
|
|
|
11138
11102
|
* const res = await youtube.liveChatMessages.list({
|
|
11139
11103
|
* // Specifies the localization language in which the system messages should be returned.
|
|
11140
11104
|
* hl: 'placeholder-value',
|
|
11141
|
-
* // The
|
|
11105
|
+
* // The ID of the live chat for which messages should be returned.
|
|
11142
11106
|
* liveChatId: 'placeholder-value',
|
|
11143
|
-
* // The
|
|
11107
|
+
* // The `maxResults` parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.
|
|
11144
11108
|
* maxResults: 'placeholder-value',
|
|
11145
|
-
* // The
|
|
11109
|
+
* // 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.
|
|
11146
11110
|
* pageToken: 'placeholder-value',
|
|
11147
|
-
* // The
|
|
11111
|
+
* // The `part` parameter specifies the `liveChatMessage` resource parts that the API response includes. Supported values are `id`, `snippet`, and `authorDetails`.
|
|
11148
11112
|
* part: 'placeholder-value',
|
|
11149
11113
|
* // Specifies the size of the profile image that should be returned for each user.
|
|
11150
11114
|
* profileImageSize: 'placeholder-value',
|
|
@@ -11267,7 +11231,7 @@ export namespace youtube_v3 {
|
|
|
11267
11231
|
}
|
|
11268
11232
|
|
|
11269
11233
|
/**
|
|
11270
|
-
*
|
|
11234
|
+
* Transitions a durable chat event. A call to this method has a quota cost of 20 units.
|
|
11271
11235
|
* @example
|
|
11272
11236
|
* ```js
|
|
11273
11237
|
* // Before running the sample:
|
|
@@ -11300,7 +11264,7 @@ export namespace youtube_v3 {
|
|
|
11300
11264
|
*
|
|
11301
11265
|
* // Do the magic
|
|
11302
11266
|
* const res = await youtube.liveChatMessages.transition({
|
|
11303
|
-
* // The ID that uniquely
|
|
11267
|
+
* // The ID that uniquely identifies the chat message event to transition.
|
|
11304
11268
|
* id: 'placeholder-value',
|
|
11305
11269
|
* // The status to which the chat event is going to transition.
|
|
11306
11270
|
* status: 'placeholder-value',
|
|
@@ -11421,7 +11385,7 @@ export namespace youtube_v3 {
|
|
|
11421
11385
|
}
|
|
11422
11386
|
export interface Params$Resource$Livechatmessages$Insert extends StandardParameters {
|
|
11423
11387
|
/**
|
|
11424
|
-
* The
|
|
11388
|
+
* 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`.
|
|
11425
11389
|
*/
|
|
11426
11390
|
part?: string[];
|
|
11427
11391
|
|
|
@@ -11436,19 +11400,19 @@ export namespace youtube_v3 {
|
|
|
11436
11400
|
*/
|
|
11437
11401
|
hl?: string;
|
|
11438
11402
|
/**
|
|
11439
|
-
* The
|
|
11403
|
+
* The ID of the live chat for which messages should be returned.
|
|
11440
11404
|
*/
|
|
11441
11405
|
liveChatId?: string;
|
|
11442
11406
|
/**
|
|
11443
|
-
* The
|
|
11407
|
+
* The `maxResults` parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.
|
|
11444
11408
|
*/
|
|
11445
11409
|
maxResults?: number;
|
|
11446
11410
|
/**
|
|
11447
|
-
* The
|
|
11411
|
+
* 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.
|
|
11448
11412
|
*/
|
|
11449
11413
|
pageToken?: string;
|
|
11450
11414
|
/**
|
|
11451
|
-
* The
|
|
11415
|
+
* The `part` parameter specifies the `liveChatMessage` resource parts that the API response includes. Supported values are `id`, `snippet`, and `authorDetails`.
|
|
11452
11416
|
*/
|
|
11453
11417
|
part?: string[];
|
|
11454
11418
|
/**
|
|
@@ -11458,7 +11422,7 @@ export namespace youtube_v3 {
|
|
|
11458
11422
|
}
|
|
11459
11423
|
export interface Params$Resource$Livechatmessages$Transition extends StandardParameters {
|
|
11460
11424
|
/**
|
|
11461
|
-
* The ID that uniquely
|
|
11425
|
+
* The ID that uniquely identifies the chat message event to transition.
|
|
11462
11426
|
*/
|
|
11463
11427
|
id?: string;
|
|
11464
11428
|
/**
|
|
@@ -19608,7 +19572,7 @@ export namespace youtube_v3 {
|
|
|
19608
19572
|
}
|
|
19609
19573
|
|
|
19610
19574
|
/**
|
|
19611
|
-
* Allows a user to load live chat through a server-streamed RPC.
|
|
19575
|
+
* Allows a user to load live chat through a server-streamed RPC. A call to this method has a quota cost of 5 units.
|
|
19612
19576
|
* @example
|
|
19613
19577
|
* ```js
|
|
19614
19578
|
* // Before running the sample:
|
|
@@ -19644,13 +19608,13 @@ export namespace youtube_v3 {
|
|
|
19644
19608
|
* const res = await youtube.youtube.v3.liveChat.messages.stream({
|
|
19645
19609
|
* // Specifies the localization language in which the system messages should be returned.
|
|
19646
19610
|
* hl: 'placeholder-value',
|
|
19647
|
-
* // The
|
|
19611
|
+
* // The ID of the live chat for which messages should be returned.
|
|
19648
19612
|
* liveChatId: 'placeholder-value',
|
|
19649
|
-
* // The
|
|
19613
|
+
* // The `maxResults` parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.
|
|
19650
19614
|
* maxResults: 'placeholder-value',
|
|
19651
|
-
* // The
|
|
19615
|
+
* // 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.
|
|
19652
19616
|
* pageToken: 'placeholder-value',
|
|
19653
|
-
* // The
|
|
19617
|
+
* // The `part` parameter specifies the `liveChatMessage` resource parts that the API response includes. Supported values are `id`, `snippet`, and `authorDetails`.
|
|
19654
19618
|
* part: 'placeholder-value',
|
|
19655
19619
|
* // Specifies the size of the profile image that should be returned for each user.
|
|
19656
19620
|
* profileImageSize: 'placeholder-value',
|
|
@@ -19779,19 +19743,19 @@ export namespace youtube_v3 {
|
|
|
19779
19743
|
*/
|
|
19780
19744
|
hl?: string;
|
|
19781
19745
|
/**
|
|
19782
|
-
* The
|
|
19746
|
+
* The ID of the live chat for which messages should be returned.
|
|
19783
19747
|
*/
|
|
19784
19748
|
liveChatId?: string;
|
|
19785
19749
|
/**
|
|
19786
|
-
* The
|
|
19750
|
+
* The `maxResults` parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.
|
|
19787
19751
|
*/
|
|
19788
19752
|
maxResults?: number;
|
|
19789
19753
|
/**
|
|
19790
|
-
* The
|
|
19754
|
+
* 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.
|
|
19791
19755
|
*/
|
|
19792
19756
|
pageToken?: string;
|
|
19793
19757
|
/**
|
|
19794
|
-
* The
|
|
19758
|
+
* The `part` parameter specifies the `liveChatMessage` resource parts that the API response includes. Supported values are `id`, `snippet`, and `authorDetails`.
|
|
19795
19759
|
*/
|
|
19796
19760
|
part?: string[];
|
|
19797
19761
|
/**
|