25 lines
731 B
Markdown
25 lines
731 B
Markdown
---
|
|
title: changeChannelUsername
|
|
description: Changes username of the channel. Needs creator privileges in the channel
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Method: changeChannelUsername
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Changes username of the channel. Needs creator privileges in the channel
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Description | Required |
|
|
|----------|---------------|-------------|----------|
|
|
|channel\_id|[int](../types/int.md) | Identifier of the channel | Yes|
|
|
|username|[string](../types/string.md) | New value of username. Use empty string to remove username | Yes|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|