mirror-chatterino2/tests/snapshots/IrcMessageHandler/simple.json

161 lines
6.2 KiB
JSON

{
"input": "@badge-info=subscriber/17;badges=subscriber/12,no_audio/1;color=#EBA2C0;display-name=jammehcow;emote-only=1;emotes=25:0-4;first-msg=0;flags=;id=9c2dd916-5a6d-4c1f-9fe7-a081b62a9c6b;mod=0;returning-chatter=0;room-id=11148817;subscriber=1;tmi-sent-ts=1662201093248;turbo=0;user-id=82674227;user-type= :jammehcow!jammehcow@jammehcow.tmi.twitch.tv PRIVMSG #pajlada :Kappa",
"output": [
{
"badgeInfos": {
"subscriber": "17"
},
"badges": [
"subscriber",
"no_audio"
],
"channelName": "pajlada",
"count": 1,
"displayName": "jammehcow",
"elements": [
{
"color": "System",
"flags": "ChannelName",
"link": {
"type": "JumpToChannel",
"value": "pajlada"
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"#pajlada"
]
},
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"10:31"
]
},
"flags": "Timestamp",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "10:31:33",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"flags": "ModeratorTools",
"link": {
"type": "None",
"value": ""
},
"tooltip": "",
"trailingSpace": true,
"type": "TwitchModerationElement"
},
{
"emote": {
"images": {
"1x": "https://static-cdn.jtvnw.net/badges/v1/aef2cd08-f29b-45a1-8c12-d44d7fd5e6f0/1",
"2x": "https://static-cdn.jtvnw.net/badges/v1/aef2cd08-f29b-45a1-8c12-d44d7fd5e6f0/2",
"3x": "https://static-cdn.jtvnw.net/badges/v1/aef2cd08-f29b-45a1-8c12-d44d7fd5e6f0/3"
},
"name": "",
"tooltip": "Watching without audio"
},
"flags": "BadgeVanity",
"link": {
"type": "None",
"value": ""
},
"tooltip": "Watching without audio",
"trailingSpace": true,
"type": "BadgeElement"
},
{
"color": "#ffeba2c0",
"flags": "Username",
"link": {
"type": "UserInfo",
"value": "jammehcow"
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"jammehcow:"
]
},
{
"emote": {
"images": {
"1x": "https://static-cdn.jtvnw.net/emoticons/v2/25/default/dark/1.0",
"2x": "https://static-cdn.jtvnw.net/emoticons/v2/25/default/dark/2.0",
"3x": "https://static-cdn.jtvnw.net/emoticons/v2/25/default/dark/3.0"
},
"name": "Kappa",
"tooltip": "Kappa<br>Twitch Emote"
},
"flags": "TwitchEmoteImage|TwitchEmoteText",
"link": {
"type": "None",
"value": ""
},
"text": {
"color": "Text",
"flags": "Misc",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Kappa"
]
},
"tooltip": "Kappa<br>Twitch Emote",
"trailingSpace": true,
"type": "EmoteElement"
},
{
"background": "#ffa0a0a4",
"flags": "ReplyButton",
"link": {
"type": "ReplyToMessage",
"value": "9c2dd916-5a6d-4c1f-9fe7-a081b62a9c6b"
},
"padding": 2,
"tooltip": "",
"trailingSpace": true,
"type": "CircularImageElement",
"url": ""
}
],
"flags": "Collapsed",
"id": "9c2dd916-5a6d-4c1f-9fe7-a081b62a9c6b",
"localizedName": "",
"loginName": "jammehcow",
"messageText": "Kappa",
"searchText": "jammehcow jammehcow: Kappa ",
"serverReceivedTime": "2022-09-03T10:31:33Z",
"timeoutUser": "",
"usernameColor": "#ffeba2c0"
}
]
}