Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/twitch

src/list-chatters.ts

13 lines · 489 B · TypeScript
import { listChatters } from './client.ts'

/**
 * List chatters in a Twitch channel. Requires moderator:read:chatters.
 *
 * @example
 * import listChatters from 'kody:@kody/twitch/list-chatters'
 * const result = await listChatters({ broadcasterLogin: 'twitchdev', limit: 50 })
 * // => { broadcasterLogin: 'twitchdev', total: 12, chatters: [...], cursor: null }
 */
export default async function twitchListChatters(params: Record<string, unknown> = {}) {
	return listChatters(params)
}