I am not sure how I would determine if the response is good or bad.
This is the response I would like to see
{
"_links": {},
"chatter_count": 2,
"chatters": {
"moderators": [
"mikeydk",
"nightbot"
],
"staff": [],
"admins": [],
"global_mods": [],
"viewers": []
}
}
Where nightbot is in (I dont care about if it is shown as mod or not, that is not needed for my application)
But when I am not in the channel, I get a response like this
{
"_links": {},
"chatter_count": 1,
"chatters": {
"moderators": [
"nightbot"
],
"staff": [],
"admins": [],
"global_mods": [],
"viewers": []
}
}
which is still fine and valid, and if nightbot leave, I get a response like this
{
"_links": {},
"chatter_count": 0,
"chatters": {
"moderators": [],
"staff": [],
"admins": [],
"global_mods": [],
"viewers": []
}
}
but with that last response, nightbot can still be in the channel, but not shown.
Not sure how I should validate the reponses when they are like this.