How to edit the channel info with a bot account?

I have a registered app for a login for my website and therefore also a Client ID and a Client Secret.

I also have a chat bot running, which works great on IRC. This bot is a different channel and is also a moderator there and I got the Oauth token from this bot via the “Twitch Chat OAuth Password Generator”.

How can I change the channel title and game with this data?

Translated with www.DeepL.com/Translator (free version)

First don’t use someones else token generator.
You should create your own Client ID and manage your own keys

Second, to update a channels title and game you will need an authentication key from the broadcaster as documented here

You will need a key from broadcaster_id with the user:edit:broadcast applied

So you wouldn’t authenticate as the bot you would authenticate as the streamer.

Ah Ok.