Skip to content

changeChannelUsername

Sahri Riza Umami edited this page Jun 11, 2017 · 6 revisions

Changes username of the channel.

changeChannelUsername(channel_id, username)

Needs creator privileges in the channel.

Option Description
channel_id Identifier of the channel.
username New value of username. Use empty string to remove username.

Example

  • Change channel 1234567890 username to foulchan.

    changeChannelUsername(1234567890, 'foulchan')

    Response:

    {
      ID = "Ok"
    }
  • Remove channel 1234567890 username.

    changeChannelUsername(1234567890, '')

    Response:

    {
      ID = "Ok"
    }

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally