How to find the username of a private Telegram channel?

I want to send a broadcast message to a Telegram channel. For testing purposes I use a private channel.
I need to set the Chat ID to the @username of the channel. Where to find that username?
According to ChatGPT it’s the private invite link, but I get a “[400] Bad Request: chat not found” error.

Anybody?

I found it already.
Posted manually a message in the channel and the Telegram Watch updates reveals the Chat ID.

2 Likes