File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 11import type { Emote } from './emote' ;
22
3+ /**
4+ * Represents a user in the context of most of Kick's webhook events,
5+ * specifically those that include the is_anonymous field.
6+ *
7+ * @see WebhookBaseUser
8+ */
39export interface WebhookUser extends WebhookBaseUser {
410 is_anonymous : boolean ;
511}
@@ -27,10 +33,13 @@ export interface WebhookUserWithIdentity extends WebhookUser {
2733 identity : WebhookIdentity ;
2834}
2935
30- export interface KicksGiftedWebhookUser extends WebhookBaseUser {
31- // This type is used specifically for kicks.gifted events where Kick's API
32- // does not provide the is_anonymous field that other webhook events have
33- }
36+ /**
37+ * Represents a user in the context of a "kicks gifted" webhook event. Kick's
38+ * API does not provide the is_anonymous field that other webhook events have.
39+ *
40+ * @see WebhookBaseUser
41+ */
42+ export interface KicksGiftedWebhookUser extends WebhookBaseUser { }
3443
3544export interface WebhookRepliesTo {
3645 message_id : string ;
You can’t perform that action at this time.
0 commit comments