import { updateChannelInfo } from './client.ts'
/**
* Preview or update a Twitch channel title and/or game category.
* Never mutates when dryRun: true. A live update requires confirm: true.
*
* @example
* import updateChannelInfo from 'kody:@kody/twitch/update-channel-info'
* const preview = await updateChannelInfo({
* title: 'Building with Kody',
* gameName: 'Software and Game Development',
* dryRun: true,
* })
*/
export default async function twitchUpdateChannelInfo(params: Record<string, unknown> = {}) {
return updateChannelInfo(params)
}