@twurple/api
Version:
Interact with Twitch's API.
25 lines (24 loc) • 625 B
JavaScript
import { DataObject, rawDataSymbol } from '@twurple/common';
/**
* A content classification label that can be applied to a Twitch stream.
*/
export class HelixContentClassificationLabel extends DataObject {
/**
* The ID of the content classification label.
*/
get id() {
return this[rawDataSymbol].id;
}
/**
* The name of the content classification label.
*/
get name() {
return this[rawDataSymbol].name;
}
/**
* The description of the content classification label.
*/
get description() {
return this[rawDataSymbol].description;
}
}