Files
chatterino2/lib/twitch-eventsub-ws/tests/resources/messages/automod.message.update.json

76 lines
2.1 KiB
JSON

{
"metadata": {
"message_id": "e6095757-c068-4a97-b6b4-46cb45c8d507",
"message_type": "notification",
"message_timestamp": "2023-05-14T12:31:47.995298776Z",
"subscription_type": "automod.message.update",
"subscription_version": "2"
},
"payload": {
"subscription": {
"id": "f1c2a387-161a-49f9-a165-0f21d7a4e1c4",
"type": "automod.message.update",
"version": "2",
"status": "enabled",
"cost": 0,
"condition": {
"broadcaster_user_id": "1337",
"moderator_user_id": "9001"
},
"transport": { "method": "websocket", "session_id": "38de428e_b11f07be" },
"created_at": "2023-04-11T10:11:12.123Z"
},
"event": {
"broadcaster_user_id": "1337",
"broadcaster_user_login": "blah",
"broadcaster_user_name": "blahblah",
"moderator_user_id": "9001",
"moderator_user_login": "the_mod",
"moderator_user_name": "The_Mod",
"user_id": "4242",
"user_login": "baduser",
"user_name": "badbaduser",
"message_id": "bad-message-id",
"message": {
"text": "This is a bad message… pogchamp",
"fragments": [
{
"type": "text",
"text": "This is a bad message… ",
"cheermote": null,
"emote": null
},
{
"type": "cheermote",
"text": "pogchamp",
"cheermote": {
"prefix": "pogchamp",
"bits": 1000,
"tier": 1
},
"emote": null
}
]
},
"reason": "blocked_term",
"automod": null,
"blocked_term": {
"terms_found": [
{
"term_id": "123",
"owner_broadcaster_user_id": "1337",
"owner_broadcaster_user_login": "blah",
"owner_broadcaster_user_name": "blahblah",
"boundary": {
"start_pos": 0,
"end_pos": 30
}
}
]
},
"status": "approved",
"held_at": "2022-12-02T15:00:00.00Z"
}
}
}