ts-twitch-api 0.2.7 → 0.3.0

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/dist/index.d.cts CHANGED
@@ -1336,7 +1336,7 @@ interface components {
1336
1336
  /**
1337
1337
  * @description **NOTE:** This parameter can only be set when utilizing an App Access Token. It cannot be specified when a User Access Token is used, and will instead result in an HTTP 400 error.
1338
1338
  *
1339
- * Determines if the chat message is sent only to the source channel (defined by _broadcaster\_id_) during a shared chat session. This has no effect if the message is sent during a shared chat session.
1339
+ * Determines if the chat message is sent only to the source channel (defined by _broadcaster\_id_) during a shared chat session. This has no effect if the message is not sent during a shared chat session.
1340
1340
  *
1341
1341
  * If this parameter is not set, the default value when using an App Access Token is `false`. On May 19, 2025 the default value for this parameter will be updated to `true`, and chat messages sent using an App Access Token will only be shared with the source channel by default. If you prefer to send a chat message to both channels in a shared chat session, make sure this parameter is explicitly set to `false` in your API request before May 19.
1342
1342
  */
@@ -1372,15 +1372,25 @@ interface components {
1372
1372
  data: components["schemas"]["UserChatColor"][];
1373
1373
  };
1374
1374
  CreateClipResponse: {
1375
+ /** @description A list containing the created clip. */
1375
1376
  data: {
1377
+ /** @description An ID that uniquely identifies the clip. */
1378
+ id: string;
1376
1379
  /**
1377
1380
  * @description A URL that you can use to edit the clip’s title, identify the part of the clip to publish, and publish the clip. [Learn More](https://help.twitch.tv/s/article/how-to-use-clips)
1378
1381
  *
1379
1382
  * The URL is valid for up to 24 hours or until the clip is published, whichever comes first.
1380
1383
  */
1381
1384
  edit_url: string;
1385
+ }[];
1386
+ };
1387
+ CreateClipFromVODResponse: {
1388
+ /** @description A list containing the created clip. */
1389
+ data: {
1382
1390
  /** @description An ID that uniquely identifies the clip. */
1383
1391
  id: string;
1392
+ /** @description A URL you can use to edit the clip’s title, feature the clip, create a portrait version of the clip, download the clip media, and share the clip directly to third-party platforms. */
1393
+ edit_url: string;
1384
1394
  }[];
1385
1395
  };
1386
1396
  Clip: {
@@ -2522,6 +2532,7 @@ interface components {
2522
2532
  total: number;
2523
2533
  };
2524
2534
  };
2535
+ /** @deprecated */
2525
2536
  GetHypeTrainEventsResponse: {
2526
2537
  /** @description The list of Hype Train events. The list is empty if the broadcaster hasn’t run a Hype Train within the last 5 days. */
2527
2538
  data: components["schemas"]["HypeTrainEvent"][];
@@ -3125,6 +3136,61 @@ interface components {
3125
3136
  reason: string;
3126
3137
  }[];
3127
3138
  };
3139
+ AddSuspiciousStatusToChatUserBody: {
3140
+ /** @description The ID of the user being given the suspicious status. */
3141
+ user_id: string;
3142
+ /**
3143
+ * @description The type of suspicious status. Possible values are: ACTIVE\_MONITORING, RESTRICTED
3144
+ * @enum {string}
3145
+ */
3146
+ status: "ACTIVE_MONITORING" | "RESTRICTED";
3147
+ };
3148
+ AddSuspiciousStatusToChatUserResponse: {
3149
+ /** @description An array with one object containing information about the suspicious user action. */
3150
+ data: ({
3151
+ /** @description The ID of the user being given the suspicious status. */
3152
+ user_id: string;
3153
+ /** @description The user ID of the broadcaster indicating in which channel the status is being applied. */
3154
+ broadcaster_id: string;
3155
+ /** @description The user ID of the moderator who applied the last status. */
3156
+ moderator_id: string;
3157
+ /**
3158
+ * Format: date-time
3159
+ * @description The timestamp of the last time this user’s status was updated.
3160
+ */
3161
+ updated_at: string;
3162
+ /**
3163
+ * @description The type of suspicious status. Possible values are: ACTIVE\_MONITORING, RESTRICTED
3164
+ * @enum {string}
3165
+ */
3166
+ status: "ACTIVE_MONITORING" | "RESTRICTED";
3167
+ /** @description An array of strings representing the type(s) of suspicious user this is. Possible values are: MANUALLY\_ADDED, DETECTED\_BAN\_EVADER, DETECTED\_SUS\_CHATTER, BANNED\_IN\_SHARED\_CHANNEL */
3168
+ types: ("MANUALLY_ADDED" | "DETECTED_BAN_EVADER" | "DETECTED_SUS_CHATTER" | "BANNED_IN_SHARED_CHANNEL")[];
3169
+ })[];
3170
+ };
3171
+ RemoveSuspiciousStatusFromChatUserResponse: {
3172
+ /** @description An array with one object containing information about the suspicious user action. */
3173
+ data: ({
3174
+ /** @description The ID of the user having the suspicious status removed. */
3175
+ user_id: string;
3176
+ /** @description The user ID of the broadcaster indicating in which channel the status is being removed. */
3177
+ broadcaster_id: string;
3178
+ /** @description The user ID of the moderator who modified the last status. */
3179
+ moderator_id: string;
3180
+ /**
3181
+ * Format: date-time
3182
+ * @description The timestamp of the last time this user’s status was updated.
3183
+ */
3184
+ updated_at: string;
3185
+ /**
3186
+ * @description The type of suspicious status. Possible values are: NO\_TREATMENT
3187
+ * @enum {string}
3188
+ */
3189
+ status: "NO_TREATMENT";
3190
+ /** @description An array of strings representing the type(s) of suspicious user this is. Possible values are: MANUALLY\_ADDED, DETECTED\_BAN\_EVADER, DETECTED\_SUS\_CHATTER, BANNED\_IN\_SHARED\_CHANNEL */
3191
+ types: ("MANUALLY_ADDED" | "DETECTED_BAN_EVADER" | "DETECTED_SUS_CHATTER" | "BANNED_IN_SHARED_CHANNEL")[];
3192
+ })[];
3193
+ };
3128
3194
  Poll: {
3129
3195
  /** @description An ID that identifies the poll. */
3130
3196
  id: string;
@@ -3399,7 +3465,7 @@ interface components {
3399
3465
  /** @description A list that contains the single prediction that you updated. */
3400
3466
  data: components["schemas"]["Prediction"][];
3401
3467
  };
3402
- StartRaidResponse: {
3468
+ StartARaidResponse: {
3403
3469
  /** @description A list that contains a single object with information about the pending raid. */
3404
3470
  data: {
3405
3471
  /**
@@ -3407,7 +3473,11 @@ interface components {
3407
3473
  * @description The UTC date and time, in RFC3339 format, of when the raid was requested.
3408
3474
  */
3409
3475
  created_at: string;
3410
- /** @description A Boolean value that indicates whether the channel being raided contains mature content. */
3476
+ /**
3477
+ * @description **IMPORTANT** This field is deprecated and returns only `false`.
3478
+ *
3479
+ * A Boolean value that indicates whether the channel being raided contains mature content.
3480
+ */
3411
3481
  is_mature: boolean;
3412
3482
  }[];
3413
3483
  };
@@ -3675,7 +3745,11 @@ interface components {
3675
3745
  tag_ids: string[];
3676
3746
  /** @description The tags applied to the stream. */
3677
3747
  tags: string[];
3678
- /** @description A Boolean value that indicates whether the stream is meant for mature audiences. */
3748
+ /**
3749
+ * @description **IMPORTANT** This field is deprecated and returns only `false`.
3750
+ *
3751
+ * A Boolean value that indicates whether the stream is meant for mature audiences.
3752
+ */
3679
3753
  is_mature: boolean;
3680
3754
  };
3681
3755
  GetStreamsResponse: {
@@ -3982,6 +4056,7 @@ interface components {
3982
4056
  offline_image_url: string;
3983
4057
  /**
3984
4058
  * Format: int32
4059
+ * @deprecated
3985
4060
  * @description The number of times the user's channel has been viewed.
3986
4061
  *
3987
4062
  * **NOTE**: This field has been deprecated (see [Get Users API endpoint – "view\_count" deprecation](https://discuss.dev.twitch.tv/t/get-users-api-endpoint-view-count-deprecation/37777)). Any data in this field is not valid and should not be used.
@@ -4009,7 +4084,7 @@ interface components {
4009
4084
  };
4010
4085
  GetAuthorizationByUserResponse: {
4011
4086
  /** @description List of users and their authorized scopes. */
4012
- data: {
4087
+ data: ({
4013
4088
  /** @description The user’s ID. */
4014
4089
  user_id: string;
4015
4090
  /** @description The user’s display name. */
@@ -4017,8 +4092,8 @@ interface components {
4017
4092
  /** @description The user’s login name. */
4018
4093
  user_login: string;
4019
4094
  /** @description An array of all the scopes the user has granted to the client ID. */
4020
- scopes: string[];
4021
- }[];
4095
+ scopes: ("analytics:read:extensions" | "analytics:read:games" | "bits:read" | "channel:bot" | "channel:manage:ads" | "channel:read:ads" | "channel:manage:broadcast" | "channel:read:charity" | "channel:manage:clips" | "channel:edit:commercial" | "channel:read:editors" | "channel:manage:extensions" | "channel:read:goals" | "channel:read:guest_star" | "channel:manage:guest_star" | "channel:read:hype_train" | "channel:manage:moderators" | "channel:read:polls" | "channel:manage:polls" | "channel:read:predictions" | "channel:manage:predictions" | "channel:manage:raids" | "channel:read:redemptions" | "channel:manage:redemptions" | "channel:manage:schedule" | "channel:read:stream_key" | "channel:read:subscriptions" | "channel:manage:videos" | "channel:read:vips" | "channel:manage:vips" | "channel:moderate" | "clips:edit" | "editor:manage:clips" | "moderation:read" | "moderator:manage:announcements" | "moderator:manage:automod" | "moderator:read:automod_settings" | "moderator:manage:automod_settings" | "moderator:read:banned_users" | "moderator:manage:banned_users" | "moderator:read:blocked_terms" | "moderator:read:chat_messages" | "moderator:manage:blocked_terms" | "moderator:manage:chat_messages" | "moderator:read:chat_settings" | "moderator:manage:chat_settings" | "moderator:read:chatters" | "moderator:read:followers" | "moderator:read:guest_star" | "moderator:manage:guest_star" | "moderator:read:moderators" | "moderator:read:shield_mode" | "moderator:manage:shield_mode" | "moderator:read:shoutouts" | "moderator:manage:shoutouts" | "moderator:read:suspicious_users" | "moderator:manage:suspicious_users" | "moderator:read:unban_requests" | "moderator:manage:unban_requests" | "moderator:read:vips" | "moderator:read:warnings" | "moderator:manage:warnings" | "user:bot" | "user:edit" | "user:edit:broadcast" | "user:read:blocked_users" | "user:manage:blocked_users" | "user:read:broadcast" | "user:read:chat" | "user:manage:chat_color" | "user:read:email" | "user:read:emotes" | "user:read:follows" | "user:read:moderated_channels" | "user:read:subscriptions" | "user:read:whispers" | "user:manage:whispers" | "user:write:chat" | "chat:edit" | "chat:read" | "whispers:read")[];
4096
+ })[];
4022
4097
  };
4023
4098
  UserBlockList: {
4024
4099
  /** @description An ID that identifies the blocked user. */
@@ -6383,7 +6458,7 @@ interface operations {
6383
6458
  * Creates a clip from the broadcaster’s stream.
6384
6459
  * @description Creates a clip from the broadcaster’s stream.
6385
6460
  *
6386
- * This API captures up to 90 seconds of the broadcaster’s stream. The 90 seconds spans the point in the stream from when you called the API. For example, if you call the API at the 4:00 minute mark, the API captures from approximately the 3:35 mark to approximately the 4:05 minute mark. Twitch tries its best to capture 90 seconds of the stream, but the actual length may be less. This may occur if you begin capturing the clip near the beginning or end of the stream.
6461
+ * This API captures up to 90 seconds of the broadcaster’s stream. The 90 seconds spans the point in the stream from when you called the API. For example, if you call the API at the 4:00 minute mark, the API captures from approximately the 2:35 mark to approximately the 4:05 minute mark. Twitch tries its best to capture 90 seconds of the stream, but the actual length may be less. This may occur if you begin capturing the clip near the beginning or end of the stream.
6387
6462
  *
6388
6463
  * By default, Twitch publishes up to the last 30 seconds of the 90 seconds window and provides a default title for the clip. To specify the title and the portion of the 90 seconds window that’s used for the clip, use the URL in the response’s `edit_url` field. You can specify a clip that’s from 5 seconds to 60 seconds in length. The URL is valid for up to 24 hours or until the clip is published, whichever comes first.
6389
6464
  *
@@ -6398,8 +6473,10 @@ interface operations {
6398
6473
  query: {
6399
6474
  /** @description The ID of the broadcaster whose stream you want to create a clip from. */
6400
6475
  broadcaster_id: string;
6401
- /** @description A Boolean value that determines whether the API captures the clip at the moment the viewer requests it or after a delay. If **false** (default), Twitch captures the clip at the moment the viewer requests it (this is the same clip experience as the Twitch UX). If **true**, Twitch adds a delay before capturing the clip (this basically shifts the capture window to the right slightly). */
6402
- has_delay?: boolean;
6476
+ /** @description The title of the clip. */
6477
+ title?: string;
6478
+ /** @description The length of the clip in seconds. Possible values range from 5 to 60 inclusively with a precision of 0.1\. The default is 30. */
6479
+ duration?: number;
6403
6480
  };
6404
6481
  };
6405
6482
  responses: {
@@ -6412,6 +6489,8 @@ interface operations {
6412
6489
  /**
6413
6490
  * @description * The _broadcaster\_id_ query parameter is required.
6414
6491
  * * The ID in the _broadcaster\_id_ query parameter was not found.
6492
+ * * The category is not clippable.
6493
+ * * The title did not pass AutoMod checks.
6415
6494
  */
6416
6495
  400: {
6417
6496
  content: never;
@@ -6428,6 +6507,7 @@ interface operations {
6428
6507
  /**
6429
6508
  * @description * The broadcaster has restricted the ability to capture clips to followers and/or subscribers only.
6430
6509
  * * The specified broadcaster has not enabled clips on their channel.
6510
+ * * The user is banned or timed out from the broadcaster’s channel.
6431
6511
  */
6432
6512
  403: {
6433
6513
  content: never;
@@ -6438,6 +6518,83 @@ interface operations {
6438
6518
  };
6439
6519
  };
6440
6520
  };
6521
+ /**
6522
+ * BETA Creates a clip from the broadcaster’s VOD.
6523
+ * @description BETA Creates a clip from a broadcaster’s VOD on behalf of the broadcaster or an editor of the channel. Since a live stream is actively creating a VOD, this endpoint can also be used to create a clip from earlier in the current stream.
6524
+ *
6525
+ * The duration of a clip can be from 5 seconds to 60 seconds in length, with a default of 30 seconds if not specified.
6526
+ *
6527
+ * `vod_offset` indicates where the clip will end. In other words, the clip will start at (`vod_offset` \- `duration`) and end at `vod_offset`. This means that the value of `vod_offset` must greater than or equal to the value of `duration`.
6528
+ *
6529
+ * The URL in the response’s `edit_url` field allows you to edit the clip’s title, feature the clip, create a portrait version of the clip, download the clip media, and share the clip directly to social platforms.
6530
+ *
6531
+ * __Authorization:__
6532
+ *
6533
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **editor:manage:clips** or **channel:manage:clips** scope.
6534
+ */
6535
+ "create-clip-from-vod": {
6536
+ parameters: {
6537
+ query: {
6538
+ /** @description The user ID of the editor for the channel you want to create a clip for. If using the broadcaster’s auth token, this is the same as broadcaster\_id. This must match the user\_id in the user access token. */
6539
+ editor_id: string;
6540
+ /** @description The user ID for the channel you want to create a clip for. */
6541
+ broadcaster_id: string;
6542
+ /** @description ID of the VOD the user wants to clip. */
6543
+ vod_id: string;
6544
+ /** @description Offset in the VOD to create the clip. See notes above. */
6545
+ vod_offset: number;
6546
+ /** @description The length of the clip, in seconds. Precision is 0.1\. Defaults to 30\. Min: 5 seconds, Max: 60 seconds. */
6547
+ duration?: number;
6548
+ /** @description The title of the clip. */
6549
+ title: string;
6550
+ };
6551
+ };
6552
+ responses: {
6553
+ /** @description Successfully started the clip process. */
6554
+ 202: {
6555
+ content: {
6556
+ "application/json": components["schemas"]["CreateClipFromVODResponse"];
6557
+ };
6558
+ };
6559
+ /**
6560
+ * @description * Validation errors: Invalid source type, missing required fields.
6561
+ * * The broadcaster\_id query parameter is required.
6562
+ * * The ID in the broadcaster\_id query parameter was not found.
6563
+ * * The category is not clippable.
6564
+ * * The title did not pass AutoMod checks.
6565
+ * * Broadcaster is banned.
6566
+ */
6567
+ 400: {
6568
+ content: never;
6569
+ };
6570
+ /**
6571
+ * @description * The Authorization header is required and must specify user access token.
6572
+ * * The user access token must include the **editor:manage:clips** or **channel:manage:clips** scope.
6573
+ * * The OAuth token is not valid.
6574
+ * * The ID in the Client-Id header must match the Client ID in the OAuth token.
6575
+ */
6576
+ 401: {
6577
+ content: never;
6578
+ };
6579
+ /**
6580
+ * @description * The broadcaster has restricted the ability to capture clips to followers and/or subscribers only.
6581
+ * * The specified broadcaster has not enabled clips on their channel.
6582
+ * * The user defined by the _editor\_id_ is not authorized to create Clips.
6583
+ * * The user is banned or timed out from the broadcaster's channel.
6584
+ */
6585
+ 403: {
6586
+ content: never;
6587
+ };
6588
+ /**
6589
+ * @description * The broadcaster in the _broadcaster\_id_ query parameter must be broadcasting live.
6590
+ * * The VOD is not found..
6591
+ * * The _broadcaster\_id_ or the _editor\_id_ does not exist.
6592
+ */
6593
+ 404: {
6594
+ content: never;
6595
+ };
6596
+ };
6597
+ };
6441
6598
  /**
6442
6599
  * NEW Provides URLs to download the video file(s) for the specified clips.
6443
6600
  * @description NEW Provides URLs to download the video file(s) for the specified clips. For information about clips, see [How to use clips](https://help.twitch.tv/s/article/how-to-use-clips).
@@ -8045,23 +8202,10 @@ interface operations {
8045
8202
  };
8046
8203
  };
8047
8204
  responses: {
8048
- /**
8049
- * @description
8050
- *
8051
- * __Examples__
8052
- *
8053
- * _Request:_
8054
- *
8055
- * End Guest Star session
8056
- *
8057
- * ```bash
8058
- * curl -x DELETE `https://api.twitch.tv/helix/guest_star/session?broadcaster_id=9321049&session_id=2KFRQbFtpmfyD3IevNRnCzOPRJI` \
8059
- * -H 'Authorization: Bearer cfabdegwdoklmawdzdo98xt2fo512y' \
8060
- * -H 'Client-Id: uo6dggojyb8d6soh92zknwmi5ej1q2'
8061
- * ```
8062
- */
8063
- 204: {
8064
- content: never;
8205
+ 200: {
8206
+ content: {
8207
+ "application/json": components["schemas"]["EndGuestStarSessionResponse"];
8208
+ };
8065
8209
  };
8066
8210
  /**
8067
8211
  * @description * Missing or invalid _broadcaster\_id_
@@ -9949,8 +10093,8 @@ interface operations {
9949
10093
  };
9950
10094
  };
9951
10095
  /**
9952
- * NEW Warns a user in the specified broadcaster’s chat room, preventing them from chat interaction until the warning is acknowledged.
9953
- * @description NEW Warns a user in the specified broadcaster’s chat room, preventing them from chat interaction until the warning is acknowledged. New warnings can be issued to a user when they already have a warning in the channel (new warning will replace old warning).
10096
+ * Warns a user in the specified broadcaster’s chat room, preventing them from chat interaction until the warning is acknowledged.
10097
+ * @description Warns a user in the specified broadcaster’s chat room, preventing them from chat interaction until the warning is acknowledged. New warnings can be issued to a user when they already have a warning in the channel (new warning will replace old warning).
9954
10098
  *
9955
10099
  * __Authorization:__
9956
10100
  *
@@ -10016,6 +10160,108 @@ interface operations {
10016
10160
  };
10017
10161
  };
10018
10162
  };
10163
+ /**
10164
+ * BETA Adds a suspicious user status to a chatter on the broadcaster’s channel.
10165
+ * @description BETA Adds a suspicious user status to a chatter on the broadcaster’s channel.
10166
+ *
10167
+ * __Authorization:__
10168
+ *
10169
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:suspicious\_users** scope.
10170
+ */
10171
+ "add-suspicious-status-to-chat-user": {
10172
+ parameters: {
10173
+ query: {
10174
+ /** @description The user ID of the broadcaster, indicating the channel where the status is being applied. */
10175
+ broadcaster_id: string;
10176
+ /** @description The user ID of the moderator who is applying the status. */
10177
+ moderator_id: string;
10178
+ };
10179
+ };
10180
+ requestBody?: {
10181
+ content: {
10182
+ "application/json": components["schemas"]["AddSuspiciousStatusToChatUserBody"];
10183
+ };
10184
+ };
10185
+ responses: {
10186
+ /** @description Successfully applied a suspicious user status. */
10187
+ 200: {
10188
+ content: {
10189
+ "application/json": components["schemas"]["AddSuspiciousStatusToChatUserResponse"];
10190
+ };
10191
+ };
10192
+ /**
10193
+ * @description * Validation errors: Missing required fields.
10194
+ * * The ID in the broadcaster\_id query parameter was not found.
10195
+ * * The status specified was invalid. Must either be ACTIVE\_MONITORING or RESTRICTED
10196
+ * * The status update is not allowed for this user.
10197
+ */
10198
+ 400: {
10199
+ content: never;
10200
+ };
10201
+ /**
10202
+ * @description * The Authorization header is required and must specify user access token.
10203
+ * * The user access token must include the **moderator:manage:suspicious\_users** scope.
10204
+ * * The OAuth token is not valid.
10205
+ * * The ID in the Client-Id header must match the Client ID in the OAuth token.
10206
+ */
10207
+ 401: {
10208
+ content: never;
10209
+ };
10210
+ /** @description * The user in the moderator\_id query parameter is not one of the broadcaster's moderators. */
10211
+ 403: {
10212
+ content: never;
10213
+ };
10214
+ };
10215
+ };
10216
+ /**
10217
+ * BETA Remove a suspicious user status from a chatter on broadcaster’s channel.
10218
+ * @description BETA Remove a suspicious user status from a chatter on broadcaster’s channel.
10219
+ *
10220
+ * __Authorization:__
10221
+ *
10222
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:suspicious\_users** scope.
10223
+ */
10224
+ "remove-suspicious-status-from-chat-user": {
10225
+ parameters: {
10226
+ query: {
10227
+ /** @description The user ID of the broadcaster, indicating the channel where the status is being removed. */
10228
+ broadcaster_id: string;
10229
+ /** @description The user ID of the moderator who is removing the status. */
10230
+ moderator_id: string;
10231
+ /** @description The ID of the user having the suspicious status removed. */
10232
+ user_id: string;
10233
+ };
10234
+ };
10235
+ responses: {
10236
+ /** @description Successfully removed a suspicious user status. */
10237
+ 200: {
10238
+ content: {
10239
+ "application/json": components["schemas"]["RemoveSuspiciousStatusFromChatUserResponse"];
10240
+ };
10241
+ };
10242
+ /**
10243
+ * @description * Validation errors: Missing required fields.
10244
+ * * The ID in the broadcaster\_id query parameter was not found.
10245
+ * * The status update is not allowed for this user.
10246
+ */
10247
+ 400: {
10248
+ content: never;
10249
+ };
10250
+ /**
10251
+ * @description * The Authorization header is required and must specify user access token.
10252
+ * * The user access token must include the **moderator:manage:suspicious\_users** scope.
10253
+ * * The OAuth token is not valid.
10254
+ * * The ID in the Client-Id header must match the Client ID in the OAuth token.
10255
+ */
10256
+ 401: {
10257
+ content: never;
10258
+ };
10259
+ /** @description * The user in the moderator\_id query parameter is not one of the broadcaster's moderators. */
10260
+ 403: {
10261
+ content: never;
10262
+ };
10263
+ };
10264
+ };
10019
10265
  /**
10020
10266
  * Gets a list of polls that the broadcaster created.
10021
10267
  * @description Gets a list of polls that the broadcaster created.
@@ -10343,7 +10589,7 @@ interface operations {
10343
10589
  /** @description Successfully requested to start a raid. To determine whether the raid successfully occurred (that is, the broadcaster clicked **Raid Now** or the countdown expired), you must subscribe to the [Channel Raid](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelraid) event. */
10344
10590
  200: {
10345
10591
  content: {
10346
- "application/json": components["schemas"]["StartRaidResponse"];
10592
+ "application/json": components["schemas"]["StartARaidResponse"];
10347
10593
  };
10348
10594
  };
10349
10595
  /**
@@ -12121,11 +12367,12 @@ type UpdateChatSettingsParams = ParamsSchema<'update-chat-settings'>;
12121
12367
  type GetSharedChatSessionParams = ParamsSchema<'get-shared-chat-session'>;
12122
12368
  type GetUserEmotesParams = ParamsSchema<'get-user-emotes'>;
12123
12369
  type SendChatAnnouncementParams = ParamsSchema<'send-chat-announcement'>;
12124
- type SendShoutoutParams = ParamsSchema<'send-a-shoutout'>;
12370
+ type SendAShoutoutParams = ParamsSchema<'send-a-shoutout'>;
12125
12371
  type GetUserChatColorParams = ParamsSchema<'get-user-chat-color'>;
12126
12372
  type UpdateUserChatColorParams = ParamsSchema<'update-user-chat-color'>;
12127
12373
  type CreateClipParams = ParamsSchema<'create-clip'>;
12128
12374
  type GetClipsParams = ParamsSchema<'get-clips'>;
12375
+ type CreateClipFromVODParams = ParamsSchema<'create-clip-from-vod'>;
12129
12376
  type GetClipsDownloadParams = ParamsSchema<'get-clips-download'>;
12130
12377
  type DeleteConduitParams = ParamsSchema<'delete-conduit'>;
12131
12378
  type GetConduitShardsParams = ParamsSchema<'get-conduit-shards'>;
@@ -12180,10 +12427,12 @@ type RemoveChannelVIPParams = ParamsSchema<'remove-channel-vip'>;
12180
12427
  type UpdateShieldModeStatusParams = ParamsSchema<'update-shield-mode-status'>;
12181
12428
  type GetShieldModeStatusParams = ParamsSchema<'get-shield-mode-status'>;
12182
12429
  type WarnChatUserParams = ParamsSchema<'warn-chat-user'>;
12430
+ type AddSuspiciousStatusToChatUserParams = ParamsSchema<'add-suspicious-status-to-chat-user'>;
12431
+ type RemoveSuspiciousStatusFromChatUserParams = ParamsSchema<'remove-suspicious-status-from-chat-user'>;
12183
12432
  type GetPollsParams = ParamsSchema<'get-polls'>;
12184
12433
  type GetPredictionsParams = ParamsSchema<'get-predictions'>;
12185
- type StartRaidParams = ParamsSchema<'start-a-raid'>;
12186
- type CancelRaidParams = ParamsSchema<'cancel-a-raid'>;
12434
+ type StartARaidParams = ParamsSchema<'start-a-raid'>;
12435
+ type CancelARaidParams = ParamsSchema<'cancel-a-raid'>;
12187
12436
  type GetChannelStreamScheduleParams = ParamsSchema<'get-channel-stream-schedule'>;
12188
12437
  type GetChannelICalendarParams = ParamsSchema<'get-channel-icalendar'>;
12189
12438
  type UpdateChannelStreamScheduleParams = ParamsSchema<'update-channel-stream-schedule'>;
@@ -12274,6 +12523,7 @@ type SendChatMessageResponse = Schema<'SendChatMessageResponse'>;
12274
12523
  type UserChatColor = Schema<'UserChatColor'>;
12275
12524
  type GetUserChatColorResponse = Schema<'GetUserChatColorResponse'>;
12276
12525
  type CreateClipResponse = Schema<'CreateClipResponse'>;
12526
+ type CreateClipFromVODResponse = Schema<'CreateClipFromVODResponse'>;
12277
12527
  type Clip = Schema<'Clip'>;
12278
12528
  type GetClipsResponse = Schema<'GetClipsResponse'>;
12279
12529
  type GetClipsDownloadResponse = Schema<'GetClipsDownloadResponse'>;
@@ -12360,6 +12610,9 @@ type UpdateShieldModeStatusResponse = Schema<'UpdateShieldModeStatusResponse'>;
12360
12610
  type GetShieldModeStatusResponse = Schema<'GetShieldModeStatusResponse'>;
12361
12611
  type WarnChatUserBody = Schema<'WarnChatUserBody'>;
12362
12612
  type WarnChatUserResponse = Schema<'WarnChatUserResponse'>;
12613
+ type AddSuspiciousStatusToChatUserBody = Schema<'AddSuspiciousStatusToChatUserBody'>;
12614
+ type AddSuspiciousStatusToChatUserResponse = Schema<'AddSuspiciousStatusToChatUserResponse'>;
12615
+ type RemoveSuspiciousStatusFromChatUserResponse = Schema<'RemoveSuspiciousStatusFromChatUserResponse'>;
12363
12616
  type Poll = Schema<'Poll'>;
12364
12617
  type GetPollsResponse = Schema<'GetPollsResponse'>;
12365
12618
  type CreatePollBody = Schema<'CreatePollBody'>;
@@ -12373,7 +12626,7 @@ type CreatePredictionBody = Schema<'CreatePredictionBody'>;
12373
12626
  type CreatePredictionResponse = Schema<'CreatePredictionResponse'>;
12374
12627
  type EndPredictionBody = Schema<'EndPredictionBody'>;
12375
12628
  type EndPredictionResponse = Schema<'EndPredictionResponse'>;
12376
- type StartRaidResponse = Schema<'StartRaidResponse'>;
12629
+ type StartARaidResponse = Schema<'StartARaidResponse'>;
12377
12630
  type ChannelStreamScheduleSegment = Schema<'ChannelStreamScheduleSegment'>;
12378
12631
  type GetChannelStreamScheduleResponse = Schema<'GetChannelStreamScheduleResponse'>;
12379
12632
  type CreateChannelStreamScheduleSegmentBody = Schema<'CreateChannelStreamScheduleSegmentBody'>;
@@ -13905,7 +14158,7 @@ declare class TwitchApi {
13905
14158
  *
13906
14159
  * @see https://dev.twitch.tv/docs/api/reference#send-a-shoutout
13907
14160
  */
13908
- sendShoutout: (params: SendShoutoutParams, options?: CallApiOptions["options"]) => ApiResponse<void, 204, 400 | 401 | 403 | 429>;
14161
+ sendAShoutout: (params: SendAShoutoutParams, options?: CallApiOptions["options"]) => ApiResponse<void, 204, 400 | 401 | 403 | 429>;
13909
14162
  /**
13910
14163
  * NEW Sends a message to the broadcaster’s chat room.
13911
14164
  *
@@ -14038,7 +14291,7 @@ declare class TwitchApi {
14038
14291
  /**
14039
14292
  * Creates a clip from the broadcaster’s stream.
14040
14293
  *
14041
- * This API captures up to 90 seconds of the broadcaster’s stream. The 90 seconds spans the point in the stream from when you called the API. For example, if you call the API at the 4:00 minute mark, the API captures from approximately the 3:35 mark to approximately the 4:05 minute mark. Twitch tries its best to capture 90 seconds of the stream, but the actual length may be less. This may occur if you begin capturing the clip near the beginning or end of the stream.
14294
+ * This API captures up to 90 seconds of the broadcaster’s stream. The 90 seconds spans the point in the stream from when you called the API. For example, if you call the API at the 4:00 minute mark, the API captures from approximately the 2:35 mark to approximately the 4:05 minute mark. Twitch tries its best to capture 90 seconds of the stream, but the actual length may be less. This may occur if you begin capturing the clip near the beginning or end of the stream.
14042
14295
  *
14043
14296
  * By default, Twitch publishes up to the last 30 seconds of the 90 seconds window and provides a default title for the clip. To specify the title and the portion of the 90 seconds window that’s used for the clip, use the URL in the response’s `edit_url` field. You can specify a clip that’s from 5 seconds to 60 seconds in length. The URL is valid for up to 24 hours or until the clip is published, whichever comes first.
14044
14297
  *
@@ -14062,6 +14315,8 @@ declare class TwitchApi {
14062
14315
  *
14063
14316
  * * The _broadcaster\_id_ query parameter is required.
14064
14317
  * * The ID in the _broadcaster\_id_ query parameter was not found.
14318
+ * * The category is not clippable.
14319
+ * * The title did not pass AutoMod checks.
14065
14320
  *
14066
14321
  * _401 Unauthorized_
14067
14322
  *
@@ -14074,6 +14329,7 @@ declare class TwitchApi {
14074
14329
  *
14075
14330
  * * The broadcaster has restricted the ability to capture clips to followers and/or subscribers only.
14076
14331
  * * The specified broadcaster has not enabled clips on their channel.
14332
+ * * The user is banned or timed out from the broadcaster’s channel.
14077
14333
  *
14078
14334
  * _404 Not Found_
14079
14335
  *
@@ -14083,8 +14339,8 @@ declare class TwitchApi {
14083
14339
  */
14084
14340
  createClip: (params: CreateClipParams, options?: CallApiOptions["options"]) => ApiResponse<{
14085
14341
  data: {
14086
- edit_url: string;
14087
14342
  id: string;
14343
+ edit_url: string;
14088
14344
  }[];
14089
14345
  }, 202, 400 | 401 | 403 | 404>;
14090
14346
  /**
@@ -14133,6 +14389,66 @@ declare class TwitchApi {
14133
14389
  cursor?: string;
14134
14390
  };
14135
14391
  }, 200, 400 | 401 | 404>;
14392
+ /**
14393
+ * BETA Creates a clip from a broadcaster’s VOD on behalf of the broadcaster or an editor of the channel. Since a live stream is actively creating a VOD, this endpoint can also be used to create a clip from earlier in the current stream.
14394
+ *
14395
+ * The duration of a clip can be from 5 seconds to 60 seconds in length, with a default of 30 seconds if not specified.
14396
+ *
14397
+ * `vod_offset` indicates where the clip will end. In other words, the clip will start at (`vod_offset` \- `duration`) and end at `vod_offset`. This means that the value of `vod_offset` must greater than or equal to the value of `duration`.
14398
+ *
14399
+ * The URL in the response’s `edit_url` field allows you to edit the clip’s title, feature the clip, create a portrait version of the clip, download the clip media, and share the clip directly to social platforms.
14400
+ *
14401
+ * __Authorization:__
14402
+ *
14403
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **editor:manage:clips** or **channel:manage:clips** scope.
14404
+ *
14405
+ * __URL:__
14406
+ *
14407
+ * `POST https://api.twitch.tv/helix/videos/clips`
14408
+ *
14409
+ * __Response Codes:__
14410
+ *
14411
+ * _202 Accepted_
14412
+ *
14413
+ * Successfully started the clip process.
14414
+ *
14415
+ * _400 Bad Request_
14416
+ *
14417
+ * * Validation errors: Invalid source type, missing required fields.
14418
+ * * The broadcaster\_id query parameter is required.
14419
+ * * The ID in the broadcaster\_id query parameter was not found.
14420
+ * * The category is not clippable.
14421
+ * * The title did not pass AutoMod checks.
14422
+ * * Broadcaster is banned.
14423
+ *
14424
+ * _401 Unauthorized_
14425
+ *
14426
+ * * The Authorization header is required and must specify user access token.
14427
+ * * The user access token must include the **editor:manage:clips** or **channel:manage:clips** scope.
14428
+ * * The OAuth token is not valid.
14429
+ * * The ID in the Client-Id header must match the Client ID in the OAuth token.
14430
+ *
14431
+ * _403 Forbidden_
14432
+ *
14433
+ * * The broadcaster has restricted the ability to capture clips to followers and/or subscribers only.
14434
+ * * The specified broadcaster has not enabled clips on their channel.
14435
+ * * The user defined by the _editor\_id_ is not authorized to create Clips.
14436
+ * * The user is banned or timed out from the broadcaster's channel.
14437
+ *
14438
+ * _404 Not Found_
14439
+ *
14440
+ * * The broadcaster in the _broadcaster\_id_ query parameter must be broadcasting live.
14441
+ * * The VOD is not found..
14442
+ * * The _broadcaster\_id_ or the _editor\_id_ does not exist.
14443
+ *
14444
+ * @see https://dev.twitch.tv/docs/api/reference#create-clip-from-vod
14445
+ */
14446
+ createClipFromVOD: (params: CreateClipFromVODParams, options?: CallApiOptions["options"]) => ApiResponse<{
14447
+ data: {
14448
+ id: string;
14449
+ edit_url: string;
14450
+ }[];
14451
+ }, 202, 400 | 401 | 403 | 404>;
14136
14452
  /**
14137
14453
  * NEW Provides URLs to download the video file(s) for the specified clips. For information about clips, see [How to use clips](https://help.twitch.tv/s/article/how-to-use-clips).
14138
14454
  *
@@ -15420,7 +15736,7 @@ declare class TwitchApi {
15420
15736
  *
15421
15737
  * __Response Codes:__
15422
15738
  *
15423
- * _204 No Content_
15739
+ * _200 OK_
15424
15740
  *
15425
15741
  * _400 Bad Request_
15426
15742
  *
@@ -15434,7 +15750,9 @@ declare class TwitchApi {
15434
15750
  *
15435
15751
  * @see https://dev.twitch.tv/docs/api/reference#end-guest-star-session
15436
15752
  */
15437
- endGuestStarSession: (params: EndGuestStarSessionParams, options?: CallApiOptions["options"]) => ApiResponse<void, 204, 400 | 403>;
15753
+ endGuestStarSession: (params: EndGuestStarSessionParams, options?: CallApiOptions["options"]) => ApiResponse<{
15754
+ data: components["schemas"]["GuestStarSession"][];
15755
+ }, 200, 400 | 403>;
15438
15756
  /**
15439
15757
  * BETA Provides the caller with a list of pending invites to a Guest Star session, including the invitee’s ready status while joining the waiting room.
15440
15758
  *
@@ -16812,7 +17130,7 @@ declare class TwitchApi {
16812
17130
  }[];
16813
17131
  }, 200, 400 | 401 | 403>;
16814
17132
  /**
16815
- * NEW Warns a user in the specified broadcaster’s chat room, preventing them from chat interaction until the warning is acknowledged. New warnings can be issued to a user when they already have a warning in the channel (new warning will replace old warning).
17133
+ * Warns a user in the specified broadcaster’s chat room, preventing them from chat interaction until the warning is acknowledged. New warnings can be issued to a user when they already have a warning in the channel (new warning will replace old warning).
16816
17134
  *
16817
17135
  * __Authorization:__
16818
17136
  *
@@ -16871,6 +17189,99 @@ declare class TwitchApi {
16871
17189
  reason: string;
16872
17190
  }[];
16873
17191
  }, 200, 400 | 401 | 403 | 409 | 429 | 500>;
17192
+ /**
17193
+ * BETA Adds a suspicious user status to a chatter on the broadcaster’s channel.
17194
+ *
17195
+ * __Authorization:__
17196
+ *
17197
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:suspicious\_users** scope.
17198
+ *
17199
+ * __URL:__
17200
+ *
17201
+ * `POST https://api.twitch.tv/helix/moderation/suspicious_users`
17202
+ *
17203
+ * __Response Codes:__
17204
+ *
17205
+ * _200 OK_
17206
+ *
17207
+ * Successfully applied a suspicious user status.
17208
+ *
17209
+ * _400 Bad Request_
17210
+ *
17211
+ * * Validation errors: Missing required fields.
17212
+ * * The ID in the broadcaster\_id query parameter was not found.
17213
+ * * The status specified was invalid. Must either be ACTIVE\_MONITORING or RESTRICTED
17214
+ * * The status update is not allowed for this user.
17215
+ *
17216
+ * _401 Unauthorized_
17217
+ *
17218
+ * * The Authorization header is required and must specify user access token.
17219
+ * * The user access token must include the **moderator:manage:suspicious\_users** scope.
17220
+ * * The OAuth token is not valid.
17221
+ * * The ID in the Client-Id header must match the Client ID in the OAuth token.
17222
+ *
17223
+ * _403 Forbidden_
17224
+ *
17225
+ * * The user in the moderator\_id query parameter is not one of the broadcaster's moderators.
17226
+ *
17227
+ * @see https://dev.twitch.tv/docs/api/reference#add-suspicious-status-to-chat-user
17228
+ */
17229
+ addSuspiciousStatusToChatUser: (params: AddSuspiciousStatusToChatUserParams, body: AddSuspiciousStatusToChatUserBody, options?: CallApiOptions["options"]) => ApiResponse<{
17230
+ data: ({
17231
+ user_id: string;
17232
+ broadcaster_id: string;
17233
+ moderator_id: string;
17234
+ updated_at: string;
17235
+ status: "ACTIVE_MONITORING" | "RESTRICTED";
17236
+ types: ("MANUALLY_ADDED" | "DETECTED_BAN_EVADER" | "DETECTED_SUS_CHATTER" | "BANNED_IN_SHARED_CHANNEL")[];
17237
+ })[];
17238
+ }, 200, 400 | 401 | 403>;
17239
+ /**
17240
+ * BETA Remove a suspicious user status from a chatter on broadcaster’s channel.
17241
+ *
17242
+ * __Authorization:__
17243
+ *
17244
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:suspicious\_users** scope.
17245
+ *
17246
+ * __URL:__
17247
+ *
17248
+ * `DELETE https://api.twitch.tv/helix/moderation/suspicious_users`
17249
+ *
17250
+ * __Response Codes:__
17251
+ *
17252
+ * _200 OK_
17253
+ *
17254
+ * Successfully removed a suspicious user status.
17255
+ *
17256
+ * _400 Bad Request_
17257
+ *
17258
+ * * Validation errors: Missing required fields.
17259
+ * * The ID in the broadcaster\_id query parameter was not found.
17260
+ * * The status update is not allowed for this user.
17261
+ *
17262
+ * _401 Unauthorized_
17263
+ *
17264
+ * * The Authorization header is required and must specify user access token.
17265
+ * * The user access token must include the **moderator:manage:suspicious\_users** scope.
17266
+ * * The OAuth token is not valid.
17267
+ * * The ID in the Client-Id header must match the Client ID in the OAuth token.
17268
+ *
17269
+ * _403 Forbidden_
17270
+ *
17271
+ * * The user in the moderator\_id query parameter is not one of the broadcaster's moderators.
17272
+ *
17273
+ * @see https://dev.twitch.tv/docs/api/reference#remove-suspicious-status-from-chat-user
17274
+ */
17275
+ removeSuspiciousStatusFromChatUser: (params: RemoveSuspiciousStatusFromChatUserParams, options?: CallApiOptions["options"]) => ApiResponse<{
17276
+ data: ({
17277
+ user_id: string;
17278
+ broadcaster_id: string;
17279
+ moderator_id: string;
17280
+ updated_at: string;
17281
+ status: "NO_TREATMENT";
17282
+ types: ("MANUALLY_ADDED" | "DETECTED_BAN_EVADER" | "DETECTED_SUS_CHATTER" | "BANNED_IN_SHARED_CHANNEL")[];
17283
+ })[];
17284
+ }, 200, 400 | 401 | 403>;
16874
17285
  };
16875
17286
  polls: {
16876
17287
  /**
@@ -17037,7 +17448,62 @@ declare class TwitchApi {
17037
17448
  getPredictions: (params: GetPredictionsParams, options?: CallApiOptions["options"]) => ApiResponse<{
17038
17449
  data: components["schemas"]["Prediction"][];
17039
17450
  pagination?: {
17040
- cursor?: string;
17451
+ cursor? /**
17452
+ * Sends a whisper message to the specified user.
17453
+ *
17454
+ * NOTE: The user sending the whisper must have a verified phone number (see the **Phone Number** setting in your [Security and Privacy](https://www.twitch.tv/settings/security) settings).
17455
+ *
17456
+ * NOTE: The API may silently drop whispers that it suspects of violating Twitch policies. (The API does not indicate that it dropped the whisper; it returns a 204 status code as if it succeeded.)
17457
+ *
17458
+ * **Rate Limits**: You may whisper to a maximum of 40 unique recipients per day. Within the per day limit, you may whisper a maximum of 3 whispers per second and a maximum of 100 whispers per minute.
17459
+ *
17460
+ * __Authorization:__
17461
+ *
17462
+ * Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:whispers** scope.
17463
+ *
17464
+ * __URL:__
17465
+ *
17466
+ * `POST https://api.twitch.tv/helix/whispers`
17467
+ *
17468
+ * __Response Codes:__
17469
+ *
17470
+ * _204 No Content_
17471
+ *
17472
+ * Successfully sent the whisper message or the message was silently dropped.
17473
+ *
17474
+ * _400 Bad Request_
17475
+ *
17476
+ * * The ID in the _from\_user\_id_ and _to\_user\_id_ query parameters must be different.
17477
+ * * The `message` field must not contain an empty string.
17478
+ * * The user that you're sending the whisper to doesn't allow whisper messages (see the **Block Whispers from Strangers** setting in your [Security and Privacy](https://www.twitch.tv/settings/security) settings).
17479
+ * * Whisper messages may not be sent to suspended users.
17480
+ * * The ID in the _from\_user\_id_ query parameter is not valid.
17481
+ * * The ID in the _to\_user\_id_ query parameter is not valid.
17482
+ *
17483
+ * _401 Unauthorized_
17484
+ *
17485
+ * * The user in the _from\_user\_id_ query parameter must have a verified phone number.
17486
+ * * The Authorization header is required and must contain a user access token.
17487
+ * * The user access token must include the **user:manage:whispers** scope.
17488
+ * * The access token is not valid.
17489
+ * * This ID in _from\_user\_id_ must match the user ID in the user access token.
17490
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
17491
+ *
17492
+ * _403 Forbidden_
17493
+ *
17494
+ * * Suspended users may not send whisper messages.
17495
+ * * The account that's sending the message doesn't allow sending whispers.
17496
+ *
17497
+ * _404 Not Found_
17498
+ *
17499
+ * * The ID in _to\_user\_id_ was not found.
17500
+ *
17501
+ * _429 Too Many Requests_
17502
+ *
17503
+ * * The sending user exceeded the number of whisper requests that they may make. See Rate Limits for this endpoint above.
17504
+ *
17505
+ * @see https://dev.twitch.tv/docs/api/reference#send-whisper
17506
+ */: string;
17041
17507
  };
17042
17508
  }, 200, 400 | 401>;
17043
17509
  /**
@@ -17190,7 +17656,7 @@ declare class TwitchApi {
17190
17656
  *
17191
17657
  * @see https://dev.twitch.tv/docs/api/reference#start-a-raid
17192
17658
  */
17193
- startRaid: (params?: StartRaidParams | null | undefined, options?: CallApiOptions["options"]) => ApiResponse<{
17659
+ startARaid: (params?: StartARaidParams | null | undefined, options?: CallApiOptions["options"]) => ApiResponse<{
17194
17660
  data: {
17195
17661
  created_at: string;
17196
17662
  is_mature: boolean;
@@ -17239,7 +17705,7 @@ declare class TwitchApi {
17239
17705
  *
17240
17706
  * @see https://dev.twitch.tv/docs/api/reference#cancel-a-raid
17241
17707
  */
17242
- cancelRaid: (params: CancelRaidParams, options?: CallApiOptions["options"]) => ApiResponse<void, 204, 400 | 401 | 404 | 429>;
17708
+ cancelARaid: (params: CancelARaidParams, options?: CallApiOptions["options"]) => ApiResponse<void, 204, 400 | 401 | 404 | 429>;
17243
17709
  };
17244
17710
  schedule: {
17245
17711
  /**
@@ -18157,12 +18623,12 @@ declare class TwitchApi {
18157
18623
  * @see https://dev.twitch.tv/docs/api/reference#get-authorization-by-user
18158
18624
  */
18159
18625
  getAuthorizationByUser: (params: GetAuthorizationByUserParams, options?: CallApiOptions["options"]) => ApiResponse<{
18160
- data: {
18626
+ data: ({
18161
18627
  user_id: string;
18162
18628
  user_name: string;
18163
18629
  user_login: string;
18164
- scopes: string[];
18165
- }[];
18630
+ scopes: ("analytics:read:extensions" | "analytics:read:games" | "bits:read" | "channel:bot" | "channel:manage:ads" | "channel:read:ads" | "channel:manage:broadcast" | "channel:read:charity" | "channel:manage:clips" | "channel:edit:commercial" | "channel:read:editors" | "channel:manage:extensions" | "channel:read:goals" | "channel:read:guest_star" | "channel:manage:guest_star" | "channel:read:hype_train" | "channel:manage:moderators" | "channel:read:polls" | "channel:manage:polls" | "channel:read:predictions" | "channel:manage:predictions" | "channel:manage:raids" | "channel:read:redemptions" | "channel:manage:redemptions" | "channel:manage:schedule" | "channel:read:stream_key" | "channel:read:subscriptions" | "channel:manage:videos" | "channel:read:vips" | "channel:manage:vips" | "channel:moderate" | "clips:edit" | "editor:manage:clips" | "moderation:read" | "moderator:manage:announcements" | "moderator:manage:automod" | "moderator:read:automod_settings" | "moderator:manage:automod_settings" | "moderator:read:banned_users" | "moderator:manage:banned_users" | "moderator:read:blocked_terms" | "moderator:read:chat_messages" | "moderator:manage:blocked_terms" | "moderator:manage:chat_messages" | "moderator:read:chat_settings" | "moderator:manage:chat_settings" | "moderator:read:chatters" | "moderator:read:followers" | "moderator:read:guest_star" | "moderator:manage:guest_star" | "moderator:read:moderators" | "moderator:read:shield_mode" | "moderator:manage:shield_mode" | "moderator:read:shoutouts" | "moderator:manage:shoutouts" | "moderator:read:suspicious_users" | "moderator:manage:suspicious_users" | "moderator:read:unban_requests" | "moderator:manage:unban_requests" | "moderator:read:vips" | "moderator:read:warnings" | "moderator:manage:warnings" | "user:bot" | "user:edit" | "user:edit:broadcast" | "user:read:blocked_users" | "user:manage:blocked_users" | "user:read:broadcast" | "user:read:chat" | "user:manage:chat_color" | "user:read:email" | "user:read:emotes" | "user:read:follows" | "user:read:moderated_channels" | "user:read:subscriptions" | "user:read:whispers" | "user:manage:whispers" | "user:write:chat" | "chat:edit" | "chat:read" | "whispers:read")[];
18631
+ })[];
18166
18632
  }, 200, 400 | 401 | 403 | 500>;
18167
18633
  /**
18168
18634
  * Gets the list of users that the broadcaster has blocked. [Read More](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat?language=en%5FUS#BlockWhispersandMessagesfromStrangers)
@@ -18537,4 +19003,4 @@ declare class TwitchApi {
18537
19003
  };
18538
19004
  }
18539
19005
 
18540
- export { type AddBlockedTermBody, type AddBlockedTermParams, type AddBlockedTermResponse, type AddChannelModeratorParams, type AddChannelVIPParams, type ApiResponse, type AssignGuestStarSlotParams, type AutoModSettings, type AutoModStatus, type BanUserBody, type BanUserParams, type BanUserResponse, type BannedUser, type BitsLeaderboard, type BlockUserParams, type BlockedTerm, type BroadcasterSubscription, type CancelRaidParams, type Category, type Channel, type ChannelEditor, type ChannelEmote, type ChannelInformation, type ChannelStreamScheduleSegment, type ChannelTeam, type CharityCampaign, type CharityCampaignDonation, type ChatBadge, type ChatSettings, type ChatSettingsUpdated, type Chatter, type CheckAutoModStatusBody, type CheckAutoModStatusParams, type CheckAutoModStatusResponse, type CheckUserSubscriptionParams, type CheckUserSubscriptionResponse, type Cheermote, type CheermoteImageFormat, type CheermoteImageTheme, type CheermoteImages, type Clip, type ContentClassificationLabel, type CreateChannelStreamScheduleSegmentBody, type CreateChannelStreamScheduleSegmentParams, type CreateChannelStreamScheduleSegmentResponse, type CreateClipParams, type CreateClipResponse, type CreateConduitsBody, type CreateConduitsResponse, type CreateCustomRewardsBody, type CreateCustomRewardsParams, type CreateCustomRewardsResponse, type CreateEventSubSubscriptionBody, type CreateEventSubSubscriptionResponse, type CreateExtensionSecretParams, type CreateExtensionSecretResponse, type CreateGuestStarSessionParams, type CreateGuestStarSessionResponse, type CreatePollBody, type CreatePollResponse, type CreatePredictionBody, type CreatePredictionResponse, type CreateStreamMarkerBody, type CreateStreamMarkerResponse, type CreatorGoal, type CustomReward, type CustomRewardRedemption, type DeleteChannelStreamScheduleSegmentParams, type DeleteChatMessagesParams, type DeleteConduitParams, type DeleteCustomRewardParams, type DeleteEventSubSubscriptionParams, type DeleteGuestStarInviteParams, type DeleteGuestStarSlotParams, type DeleteVideosParams, type DeleteVideosResponse, type DropsEntitlement, type DropsEntitlementUpdated, type Emote, type EndGuestStarSessionParams, type EndGuestStarSessionResponse, type EndPollBody, type EndPollResponse, type EndPredictionBody, type EndPredictionResponse, type EventSubSubscription, type Extension, type ExtensionAnalytics, type ExtensionBitsProduct, type ExtensionConfigurationSegment, type ExtensionIconUrls, type ExtensionLiveChannel, type ExtensionSecret, type ExtensionTransaction, type Game, type GameAnalytics, type GetAdScheduleParams, type GetAdScheduleResponse, type GetAllStreamTagsParams, type GetAllStreamTagsResponse, type GetAuthorizationByUserParams, type GetAuthorizationByUserResponse, type GetAutoModSettingsParams, type GetAutoModSettingsResponse, type GetBannedUsersParams, type GetBannedUsersResponse, type GetBitsLeaderboardParams, type GetBitsLeaderboardResponse, type GetBlockedTermsParams, type GetBlockedTermsResponse, type GetBroadcasterSubscriptionsParams, type GetBroadcasterSubscriptionsResponse, type GetChannelChatBadgesParams, type GetChannelChatBadgesResponse, type GetChannelEditorsParams, type GetChannelEditorsResponse, type GetChannelEmotesParams, type GetChannelEmotesResponse, type GetChannelFollowersParams, type GetChannelFollowersResponse, type GetChannelGuestStarSettingsParams, type GetChannelGuestStarSettingsResponse, type GetChannelICalendarParams, type GetChannelInformationParams, type GetChannelInformationResponse, type GetChannelStreamScheduleParams, type GetChannelStreamScheduleResponse, type GetChannelTeamsParams, type GetChannelTeamsResponse, type GetCharityCampaignDonationsParams, type GetCharityCampaignDonationsResponse, type GetCharityCampaignParams, type GetCharityCampaignResponse, type GetChatSettingsParams, type GetChatSettingsResponse, type GetChattersParams, type GetChattersResponse, type GetCheermotesParams, type GetCheermotesResponse, type GetClipsDownloadParams, type GetClipsDownloadResponse, type GetClipsParams, type GetClipsResponse, type GetConduitShardsParams, type GetConduitShardsResponse, type GetConduitsResponse, type GetContentClassificationLabelsParams, type GetContentClassificationLabelsResponse, type GetCreatorGoalsParams, type GetCreatorGoalsResponse, type GetCustomRewardParams, type GetCustomRewardRedemptionParams, type GetCustomRewardRedemptionResponse, type GetCustomRewardResponse, type GetDropsEntitlementsParams, type GetDropsEntitlementsResponse, type GetEmoteSetsParams, type GetEmoteSetsResponse, type GetEventSubSubscriptionsParams, type GetEventSubSubscriptionsResponse, type GetExtensionAnalyticsParams, type GetExtensionAnalyticsResponse, type GetExtensionBitsProductsParams, type GetExtensionBitsProductsResponse, type GetExtensionConfigurationSegmentParams, type GetExtensionConfigurationSegmentResponse, type GetExtensionLiveChannelsParams, type GetExtensionLiveChannelsResponse, type GetExtensionSecretsResponse, type GetExtensionTransactionsParams, type GetExtensionTransactionsResponse, type GetExtensionsParams, type GetExtensionsResponse, type GetFollowedChannelsParams, type GetFollowedChannelsResponse, type GetFollowedStreamsParams, type GetFollowedStreamsResponse, type GetGameAnalyticsParams, type GetGameAnalyticsResponse, type GetGamesParams, type GetGamesResponse, type GetGlobalChatBadgesResponse, type GetGlobalEmotesResponse, type GetGuestStarInvitesParams, type GetGuestStarInvitesResponse, type GetGuestStarSessionParams, type GetGuestStarSessionResponse, type GetHypeTrainEventsParams, type GetHypeTrainEventsResponse, type GetHypeTrainStatusParams, type GetHypeTrainStatusResponse, type GetModeratedChannelsParams, type GetModeratedChannelsResponse, type GetModeratorsParams, type GetModeratorsResponse, type GetPollsParams, type GetPollsResponse, type GetPredictionsParams, type GetPredictionsResponse, type GetReleasedExtensionsParams, type GetReleasedExtensionsResponse, type GetSharedChatSessionParams, type GetSharedChatSessionResponse, type GetShieldModeStatusParams, type GetShieldModeStatusResponse, type GetStreamKeyParams, type GetStreamKeyResponse, type GetStreamMarkersParams, type GetStreamMarkersResponse, type GetStreamTagsParams, type GetStreamTagsResponse, type GetStreamsParams, type GetStreamsResponse, type GetTeamsParams, type GetTeamsResponse, type GetTopGamesParams, type GetTopGamesResponse, type GetUnbanRequestsParams, type GetUnbanRequestsResponse, type GetUserActiveExtensionsParams, type GetUserActiveExtensionsResponse, type GetUserBlockListParams, type GetUserBlockListResponse, type GetUserChatColorParams, type GetUserChatColorResponse, type GetUserEmotesParams, type GetUserEmotesResponse, type GetUserExtensionsResponse, type GetUsersParams, type GetUsersResponse, type GetVIPsParams, type GetVIPsResponse, type GetVideosParams, type GetVideosResponse, type GlobalEmote, type Guest, type GuestStarInvite, type GuestStarSession, type HypeTrainEvent, type ManageHeldAutoModMessagesBody, type ModifyChannelInformationBody, type ModifyChannelInformationParams, type Poll, type Prediction, type PredictionOutcome, type RemoveBlockedTermParams, type RemoveChannelModeratorParams, type RemoveChannelVIPParams, type ResolveUnbanRequestsParams, type ResolveUnbanRequestsResponse, type SearchCategoriesParams, type SearchCategoriesResponse, type SearchChannelsParams, type SearchChannelsResponse, type SendChatAnnouncementBody, type SendChatAnnouncementParams, type SendChatMessageBody, type SendChatMessageResponse, type SendExtensionChatMessageBody, type SendExtensionChatMessageParams, type SendExtensionPubSubMessageBody, type SendGuestStarInviteParams, type SendShoutoutParams, type SendWhisperBody, type SendWhisperParams, type SetExtensionConfigurationSegmentBody, type SetExtensionRequiredConfigurationBody, type SetExtensionRequiredConfigurationParams, type SnoozeNextAdParams, type SnoozeNextAdResponse, type StartCommercialBody, type StartCommercialResponse, type StartRaidParams, type StartRaidResponse, type Stream, type StreamMarkerCreated, type StreamMarkers, type StreamTag, type Team, TwitchApi, type TwitchApiOptions, type UnbanUserParams, type UnblockUserParams, type UpdateAutoModSettingsBody, type UpdateAutoModSettingsParams, type UpdateAutoModSettingsResponse, type UpdateChannelGuestStarSettingsBody, type UpdateChannelGuestStarSettingsParams, type UpdateChannelStreamScheduleParams, type UpdateChannelStreamScheduleSegmentBody, type UpdateChannelStreamScheduleSegmentParams, type UpdateChannelStreamScheduleSegmentResponse, type UpdateChatSettingsBody, type UpdateChatSettingsParams, type UpdateChatSettingsResponse, type UpdateConduitShardsBody, type UpdateConduitShardsResponse, type UpdateConduitsBody, type UpdateConduitsResponse, type UpdateCustomRewardBody, type UpdateCustomRewardParams, type UpdateCustomRewardResponse, type UpdateDropsEntitlementsBody, type UpdateDropsEntitlementsResponse, type UpdateExtensionBitsProductBody, type UpdateExtensionBitsProductResponse, type UpdateGuestStarSlotParams, type UpdateGuestStarSlotSettingsParams, type UpdateRedemptionStatusBody, type UpdateRedemptionStatusParams, type UpdateRedemptionStatusResponse, type UpdateShieldModeStatusBody, type UpdateShieldModeStatusParams, type UpdateShieldModeStatusResponse, type UpdateUserChatColorParams, type UpdateUserExtensionsBody, type UpdateUserExtensionsResponse, type UpdateUserParams, type UpdateUserResponse, type User, type UserBlockList, type UserChatColor, type UserExtension, type UserExtensionComponent, type UserExtensionComponentUpdate, type UserExtensionOverlay, type UserExtensionOverlayUpdate, type UserExtensionPanel, type UserExtensionPanelUpdate, type UserModerator, type UserSubscription, type UserVip, type Video, type WarnChatUserBody, type WarnChatUserParams, type WarnChatUserResponse };
19006
+ export { type AddBlockedTermBody, type AddBlockedTermParams, type AddBlockedTermResponse, type AddChannelModeratorParams, type AddChannelVIPParams, type AddSuspiciousStatusToChatUserBody, type AddSuspiciousStatusToChatUserParams, type AddSuspiciousStatusToChatUserResponse, type ApiResponse, type AssignGuestStarSlotParams, type AutoModSettings, type AutoModStatus, type BanUserBody, type BanUserParams, type BanUserResponse, type BannedUser, type BitsLeaderboard, type BlockUserParams, type BlockedTerm, type BroadcasterSubscription, type CancelARaidParams, type Category, type Channel, type ChannelEditor, type ChannelEmote, type ChannelInformation, type ChannelStreamScheduleSegment, type ChannelTeam, type CharityCampaign, type CharityCampaignDonation, type ChatBadge, type ChatSettings, type ChatSettingsUpdated, type Chatter, type CheckAutoModStatusBody, type CheckAutoModStatusParams, type CheckAutoModStatusResponse, type CheckUserSubscriptionParams, type CheckUserSubscriptionResponse, type Cheermote, type CheermoteImageFormat, type CheermoteImageTheme, type CheermoteImages, type Clip, type ContentClassificationLabel, type CreateChannelStreamScheduleSegmentBody, type CreateChannelStreamScheduleSegmentParams, type CreateChannelStreamScheduleSegmentResponse, type CreateClipFromVODParams, type CreateClipFromVODResponse, type CreateClipParams, type CreateClipResponse, type CreateConduitsBody, type CreateConduitsResponse, type CreateCustomRewardsBody, type CreateCustomRewardsParams, type CreateCustomRewardsResponse, type CreateEventSubSubscriptionBody, type CreateEventSubSubscriptionResponse, type CreateExtensionSecretParams, type CreateExtensionSecretResponse, type CreateGuestStarSessionParams, type CreateGuestStarSessionResponse, type CreatePollBody, type CreatePollResponse, type CreatePredictionBody, type CreatePredictionResponse, type CreateStreamMarkerBody, type CreateStreamMarkerResponse, type CreatorGoal, type CustomReward, type CustomRewardRedemption, type DeleteChannelStreamScheduleSegmentParams, type DeleteChatMessagesParams, type DeleteConduitParams, type DeleteCustomRewardParams, type DeleteEventSubSubscriptionParams, type DeleteGuestStarInviteParams, type DeleteGuestStarSlotParams, type DeleteVideosParams, type DeleteVideosResponse, type DropsEntitlement, type DropsEntitlementUpdated, type Emote, type EndGuestStarSessionParams, type EndGuestStarSessionResponse, type EndPollBody, type EndPollResponse, type EndPredictionBody, type EndPredictionResponse, type EventSubSubscription, type Extension, type ExtensionAnalytics, type ExtensionBitsProduct, type ExtensionConfigurationSegment, type ExtensionIconUrls, type ExtensionLiveChannel, type ExtensionSecret, type ExtensionTransaction, type Game, type GameAnalytics, type GetAdScheduleParams, type GetAdScheduleResponse, type GetAllStreamTagsParams, type GetAllStreamTagsResponse, type GetAuthorizationByUserParams, type GetAuthorizationByUserResponse, type GetAutoModSettingsParams, type GetAutoModSettingsResponse, type GetBannedUsersParams, type GetBannedUsersResponse, type GetBitsLeaderboardParams, type GetBitsLeaderboardResponse, type GetBlockedTermsParams, type GetBlockedTermsResponse, type GetBroadcasterSubscriptionsParams, type GetBroadcasterSubscriptionsResponse, type GetChannelChatBadgesParams, type GetChannelChatBadgesResponse, type GetChannelEditorsParams, type GetChannelEditorsResponse, type GetChannelEmotesParams, type GetChannelEmotesResponse, type GetChannelFollowersParams, type GetChannelFollowersResponse, type GetChannelGuestStarSettingsParams, type GetChannelGuestStarSettingsResponse, type GetChannelICalendarParams, type GetChannelInformationParams, type GetChannelInformationResponse, type GetChannelStreamScheduleParams, type GetChannelStreamScheduleResponse, type GetChannelTeamsParams, type GetChannelTeamsResponse, type GetCharityCampaignDonationsParams, type GetCharityCampaignDonationsResponse, type GetCharityCampaignParams, type GetCharityCampaignResponse, type GetChatSettingsParams, type GetChatSettingsResponse, type GetChattersParams, type GetChattersResponse, type GetCheermotesParams, type GetCheermotesResponse, type GetClipsDownloadParams, type GetClipsDownloadResponse, type GetClipsParams, type GetClipsResponse, type GetConduitShardsParams, type GetConduitShardsResponse, type GetConduitsResponse, type GetContentClassificationLabelsParams, type GetContentClassificationLabelsResponse, type GetCreatorGoalsParams, type GetCreatorGoalsResponse, type GetCustomRewardParams, type GetCustomRewardRedemptionParams, type GetCustomRewardRedemptionResponse, type GetCustomRewardResponse, type GetDropsEntitlementsParams, type GetDropsEntitlementsResponse, type GetEmoteSetsParams, type GetEmoteSetsResponse, type GetEventSubSubscriptionsParams, type GetEventSubSubscriptionsResponse, type GetExtensionAnalyticsParams, type GetExtensionAnalyticsResponse, type GetExtensionBitsProductsParams, type GetExtensionBitsProductsResponse, type GetExtensionConfigurationSegmentParams, type GetExtensionConfigurationSegmentResponse, type GetExtensionLiveChannelsParams, type GetExtensionLiveChannelsResponse, type GetExtensionSecretsResponse, type GetExtensionTransactionsParams, type GetExtensionTransactionsResponse, type GetExtensionsParams, type GetExtensionsResponse, type GetFollowedChannelsParams, type GetFollowedChannelsResponse, type GetFollowedStreamsParams, type GetFollowedStreamsResponse, type GetGameAnalyticsParams, type GetGameAnalyticsResponse, type GetGamesParams, type GetGamesResponse, type GetGlobalChatBadgesResponse, type GetGlobalEmotesResponse, type GetGuestStarInvitesParams, type GetGuestStarInvitesResponse, type GetGuestStarSessionParams, type GetGuestStarSessionResponse, type GetHypeTrainEventsParams, type GetHypeTrainEventsResponse, type GetHypeTrainStatusParams, type GetHypeTrainStatusResponse, type GetModeratedChannelsParams, type GetModeratedChannelsResponse, type GetModeratorsParams, type GetModeratorsResponse, type GetPollsParams, type GetPollsResponse, type GetPredictionsParams, type GetPredictionsResponse, type GetReleasedExtensionsParams, type GetReleasedExtensionsResponse, type GetSharedChatSessionParams, type GetSharedChatSessionResponse, type GetShieldModeStatusParams, type GetShieldModeStatusResponse, type GetStreamKeyParams, type GetStreamKeyResponse, type GetStreamMarkersParams, type GetStreamMarkersResponse, type GetStreamTagsParams, type GetStreamTagsResponse, type GetStreamsParams, type GetStreamsResponse, type GetTeamsParams, type GetTeamsResponse, type GetTopGamesParams, type GetTopGamesResponse, type GetUnbanRequestsParams, type GetUnbanRequestsResponse, type GetUserActiveExtensionsParams, type GetUserActiveExtensionsResponse, type GetUserBlockListParams, type GetUserBlockListResponse, type GetUserChatColorParams, type GetUserChatColorResponse, type GetUserEmotesParams, type GetUserEmotesResponse, type GetUserExtensionsResponse, type GetUsersParams, type GetUsersResponse, type GetVIPsParams, type GetVIPsResponse, type GetVideosParams, type GetVideosResponse, type GlobalEmote, type Guest, type GuestStarInvite, type GuestStarSession, type HypeTrainEvent, type ManageHeldAutoModMessagesBody, type ModifyChannelInformationBody, type ModifyChannelInformationParams, type Poll, type Prediction, type PredictionOutcome, type RemoveBlockedTermParams, type RemoveChannelModeratorParams, type RemoveChannelVIPParams, type RemoveSuspiciousStatusFromChatUserParams, type RemoveSuspiciousStatusFromChatUserResponse, type ResolveUnbanRequestsParams, type ResolveUnbanRequestsResponse, type SearchCategoriesParams, type SearchCategoriesResponse, type SearchChannelsParams, type SearchChannelsResponse, type SendAShoutoutParams, type SendChatAnnouncementBody, type SendChatAnnouncementParams, type SendChatMessageBody, type SendChatMessageResponse, type SendExtensionChatMessageBody, type SendExtensionChatMessageParams, type SendExtensionPubSubMessageBody, type SendGuestStarInviteParams, type SendWhisperBody, type SendWhisperParams, type SetExtensionConfigurationSegmentBody, type SetExtensionRequiredConfigurationBody, type SetExtensionRequiredConfigurationParams, type SnoozeNextAdParams, type SnoozeNextAdResponse, type StartARaidParams, type StartARaidResponse, type StartCommercialBody, type StartCommercialResponse, type Stream, type StreamMarkerCreated, type StreamMarkers, type StreamTag, type Team, TwitchApi, type TwitchApiOptions, type UnbanUserParams, type UnblockUserParams, type UpdateAutoModSettingsBody, type UpdateAutoModSettingsParams, type UpdateAutoModSettingsResponse, type UpdateChannelGuestStarSettingsBody, type UpdateChannelGuestStarSettingsParams, type UpdateChannelStreamScheduleParams, type UpdateChannelStreamScheduleSegmentBody, type UpdateChannelStreamScheduleSegmentParams, type UpdateChannelStreamScheduleSegmentResponse, type UpdateChatSettingsBody, type UpdateChatSettingsParams, type UpdateChatSettingsResponse, type UpdateConduitShardsBody, type UpdateConduitShardsResponse, type UpdateConduitsBody, type UpdateConduitsResponse, type UpdateCustomRewardBody, type UpdateCustomRewardParams, type UpdateCustomRewardResponse, type UpdateDropsEntitlementsBody, type UpdateDropsEntitlementsResponse, type UpdateExtensionBitsProductBody, type UpdateExtensionBitsProductResponse, type UpdateGuestStarSlotParams, type UpdateGuestStarSlotSettingsParams, type UpdateRedemptionStatusBody, type UpdateRedemptionStatusParams, type UpdateRedemptionStatusResponse, type UpdateShieldModeStatusBody, type UpdateShieldModeStatusParams, type UpdateShieldModeStatusResponse, type UpdateUserChatColorParams, type UpdateUserExtensionsBody, type UpdateUserExtensionsResponse, type UpdateUserParams, type UpdateUserResponse, type User, type UserBlockList, type UserChatColor, type UserExtension, type UserExtensionComponent, type UserExtensionComponentUpdate, type UserExtensionOverlay, type UserExtensionOverlayUpdate, type UserExtensionPanel, type UserExtensionPanelUpdate, type UserModerator, type UserSubscription, type UserVip, type Video, type WarnChatUserBody, type WarnChatUserParams, type WarnChatUserResponse };