set_supergroup_username


Description:

public async Ok set_supergroup_username (int64 supergroup_id, string username) throws TDLibError

Changes the editable username of a supergroup or channel, requires owner privileges in the supergroup or channel

Parameters:

supergroup_id

Identifier of the supergroup or channel

username

New value of the username. Use an empty string to remove the username. The username can't be completely removed if there is another active or disabled username