lemolatoon / youtube_chat_rs

provides Rust interface of fetching youtube live chat comments
https://crates.io/crates/youtube_chat
MIT License
8 stars 6 forks source link

Is there a function that lists the membership level? #8

Open TommcyOWO opened 4 months ago

lemolatoon commented 4 months ago

This crate is basically a reimplement of https://github.com/LinaTsukusu/youtube-chat . I think there are no such way to do that. If there are membership level info in fetched content, you can implement that function if you want.

b3ck commented 3 months ago

just for reference this is what I get with the membership being false, I don't know if it was true it would say the level:

{
  "id": "XXXXXXX",
  "author": {
    "name": "b3ck",
    "thumbnail": {
      "url": "XXXXXXXX",
      "alt": "b3ck"
    },
    "channelId": "XXXXXXX"
  },
  "message": [
    {
      "text": "beep boop"
    }
  ],
  "isMembership": false,
  "isOwner": true,
  "isVerified": false,
  "isModerator": false,
  "timestamp": "2024-08-06T03:42:13.960Z"
}