Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(parser): add LiveChatModeChangeMessage node #811

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

jonz94
Copy link
Contributor

@jonz94 jonz94 commented Nov 18, 2024

Example RawNode data 1:

{
  "liveChatModeChangeMessageRenderer": {
    "id": "ChwKGkNQdTQwcFd1MVBZQ0ZTVU01d29kX2NNTW1R",
    "timestampUsec": "1647768006658253",
    "icon": {
      "iconType": "TAB_SUBSCRIPTIONS"
    },
    "text": {
      "runs": [
        {
          "text": "庫洛姆•Kuromu",
          "bold": true
        },
        {
          "text": " turned on subscribers-only mode",
          "bold": true
        }
      ]
    },
    "subtext": {
      "runs": [
        {
          "text": "Only channel subscribers of ",
          "italics": true
        },
        {
          "text": "5 minutes",
          "italics": true
        },
        {
          "text": " or longer can send messages",
          "italics": true
        }
      ]
    },
    "timestampText": {
      "simpleText": "18:29"
    }
  }
}

Example RawNode data 2:

{
  "liveChatModeChangeMessageRenderer": {
    "id": "ChwKGkNQVzYwcFd1MVBZQ0Zlc2VyUVlkV1JVQ2Nn",
    "timestampUsec": "1647768006657834",
    "icon": {
      "iconType": "QUESTION_ANSWER"
    },
    "text": {
      "runs": [
        {
          "text": "Members-only mode is off",
          "bold": true
        }
      ]
    },
    "subtext": {
      "runs": [
        {
          "text": "Everybody can chat now",
          "italics": true
        }
      ]
    },
    "timestampText": {
      "simpleText": "18:29"
    }
  }
}

@LuanRT LuanRT merged commit 7156a58 into LuanRT:main Nov 19, 2024
4 checks passed
@jonz94 jonz94 deleted the add-LiveChatModeChangeMessage branch November 20, 2024 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants