View Source ExTDLib.Method.SetSupergroupUsername (ExTDLib v0.0.4)
Changes the editable username of a supergroup or channel, requires owner privileges in the supergroup or channel. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| supergroup_id | string | Identifier of the supergroup or channel. |
| username | string | 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. |
More details on telegram's documentation.