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

169 lines
5.8 KiB
JSON

{
"input": "@tmi-sent-ts=1662201102276;emotes=84608:0-0 :test!test@test.tmi.twitch.tv PRIVMSG #pajlada :foo bar",
"output": [
{
"badgeInfos": {
},
"badges": [
],
"channelName": "pajlada",
"count": 1,
"displayName": "",
"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:42",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"flags": "ModeratorTools",
"link": {
"type": "None",
"value": ""
},
"tooltip": "",
"trailingSpace": true,
"type": "TwitchModerationElement"
},
{
"color": "#ff999999",
"flags": "Username",
"link": {
"type": "UserInfo",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"test:"
]
},
{
"emote": {
"images": {
"1x": "https://static-cdn.jtvnw.net/emoticons/v2/84608/default/dark/1.0",
"2x": "https://static-cdn.jtvnw.net/emoticons/v2/84608/default/dark/2.0",
"3x": "https://static-cdn.jtvnw.net/emoticons/v2/84608/default/dark/3.0"
},
"name": "f",
"tooltip": "f<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": [
"f"
]
},
"tooltip": "f<br>Twitch Emote",
"trailingSpace": false,
"type": "EmoteElement"
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"oo"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"bar"
]
},
{
"background": "#ffa0a0a4",
"flags": "ReplyButton",
"link": {
"type": "ReplyToMessage",
"value": ""
},
"padding": 2,
"tooltip": "",
"trailingSpace": true,
"type": "CircularImageElement",
"url": ""
}
],
"flags": "Collapsed",
"id": "",
"localizedName": "",
"loginName": "test",
"messageText": "foo bar",
"searchText": "test test: foo bar ",
"serverReceivedTime": "2022-09-03T10:31:42Z",
"timeoutUser": "",
"usernameColor": "#ff000000"
}
]
}