This article explains how to change the username of a group or channel.

To add a username, open the chat or channel settings and tap Channel (group) type.

In the settings that open, change the type to Public and enter the username in the input field below.