feat(eventsub): add basic parse tests and benchmark (#5952)
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"metadata": {
|
||||
"message_id": "beb72a37-0c04-4d7e-9934-f611ddc0e869",
|
||||
"message_type": "notification",
|
||||
"message_timestamp": "2024-05-14T12:31:47.995298776Z",
|
||||
"subscription_type": "channel.update",
|
||||
"subscription_version": "1"
|
||||
},
|
||||
"payload": {
|
||||
"subscription": {
|
||||
"id": "f1c2a387-161a-49f9-a165-0f21d7a4e1c4",
|
||||
"type": "channel.update",
|
||||
"version": "1",
|
||||
"status": "enabled",
|
||||
"cost": 0,
|
||||
"condition": { "broadcaster_user_id": "1337" },
|
||||
"transport": {
|
||||
"method": "websocket",
|
||||
"session_id": "AgoQUlB8aB2SSsavWVfcs5ljnBIGY2VsbC1j"
|
||||
},
|
||||
"created_at": "2019-11-16T10:11:12.123Z"
|
||||
},
|
||||
"event": {
|
||||
"broadcaster_user_id": "1337",
|
||||
"broadcaster_user_login": "cool_user",
|
||||
"broadcaster_user_name": "Cool_User",
|
||||
"title": "Best Stream Ever",
|
||||
"language": "en",
|
||||
"category_id": "21779",
|
||||
"category_name": "Fortnite",
|
||||
"is_mature": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user