TDLib v0.0.2 TDLib.Method.SetSupergroupUsername View Source
Changes the username of the supergroup or channel, requires creator privileges in the supergroup or channel.
Returns object_ptr
| Name | Type | Description |
|---|---|---|
| supergroup_id | number | Identifier of the supergroup or channel. |
| username | string | New value of the username. Use an empty string to remove the username. |
More details on telegram’s documentation.