channels.UpdateUsername#

class pyrogram.raw.functions.channels.UpdateUsername#

Change or remove the username of a supergroup/channel.

Details:
  • Layer: 158

  • ID: 3514B3DE

Parameters:
  • channel (InputChannel) – Channel.

  • username (str) – New username, pass an empty string to remove the username.

Returns:

bool