Raw.channels.UpdateUsername
Change or remove the username of a supergroup/channel
channels.updateUsername#3514b3de channel:InputChannel username:string = Bool;
export namespace Raw {
export namespace channels {
export class UpdateUsername {
constructor(params: { channel: Raw.TypeInputChannel; username: string }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x3514b3de
Property
channel
: Raw.TypeInputChannelChannel
username
: stringNew username, pass an empty string to remove the username