Skip to content

Add JsonProperty attribute to Gifter property#27

Merged
Bukk94 merged 1 commit intoBukk94:masterfrom
mohamedyassine-benmiled:patch-1
Oct 9, 2025
Merged

Add JsonProperty attribute to Gifter property#27
Bukk94 merged 1 commit intoBukk94:masterfrom
mohamedyassine-benmiled:patch-1

Conversation

@mohamedyassine-benmiled
Copy link
Contributor

Fix read gifter on New Subscription event

Fix read gifter on New Subscription event
@mohamedyassine-benmiled
Copy link
Contributor Author

mohamedyassine-benmiled commented Oct 9, 2025

This edit was made because the webhook payload when a new subscription arrives is as follows

{
  "broadcaster": {
    "is_anonymous": false,
    "user_id": 58951189,
    "username": "AimonM",
    "is_verified": false,
    "profile_picture": "",
    "channel_slug": "aimonm",
    "identity": null
  },
  "subscriber": {
    "is_anonymous": false,
    "user_id": 55783,
    "username": "kaysharp",
    "is_verified": false,
    "profile_picture": "https://dbxmjjzl5pc1g.cloudfront.net/68417caf-7cdd-43e3-8a65-c6d605e1b881/images/user-profile-pic.png",
    "channel_slug": "kaysharp",
    "identity": null
  },
  "duration": 1,
  "created_at": "2025-10-09T16:18:40.927753489Z",
  "expires_at": "2025-11-16T16:18:40.916366187Z"
}

Copy link
Owner

@Bukk94 Bukk94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution. This was indeed an oversight on my part.
I'll write some tests to ensure all events are properly populated :)

@Bukk94 Bukk94 merged commit 50a80bb into Bukk94:master Oct 9, 2025
1 check passed
@mohamedyassine-benmiled mohamedyassine-benmiled deleted the patch-1 branch October 15, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants