1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 02:56:57 +01:00
MadelineProto/docs/TD_docs/methods/changeChannelUsername.md

672 B

title description
changeChannelUsername Changes username of the channel. Needs creator privileges in the channel

Method: changeChannelUsername

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Changes username of the channel. Needs creator privileges in the channel

Parameters:

Name Type Required Description
channel_id CLICK ME int Yes Identifier of the channel
username CLICK ME string Yes New value of username. Use empty string to remove username

Return type: Ok