@twurple/api
Version:
Interact with Twitch's API.
33 lines • 792 B
TypeScript
import { type HelixPagination } from '../../utils/pagination/HelixPagination.js';
import { type HelixStreamType } from './stream.external.js';
/**
* Filters for the streams request.
*/
export interface HelixStreamFilter {
/**
* A game ID or a list thereof.
*/
game?: string | string[];
/**
* A language or a list thereof.
*/
language?: string | string[];
/**
* A type of stream.
*/
type?: HelixStreamType;
/**
* A user ID or a list thereof.
*/
userId?: string | string[];
/**
* A user name or a list thereof.
*/
userName?: string | string[];
}
/**
* @inheritDoc
*/
export interface HelixPaginatedStreamFilter extends HelixStreamFilter, HelixPagination {
}
//# sourceMappingURL=stream.input.d.ts.map