Raw.channels.ToggleUsername
Activate or deactivate a purchased fragment.com username associated to a supergroup or channel we own.
channels.toggleUsername#50f24105 channel:InputChannel username:string active:Bool = Bool;
export namespace Raw {
export namespace channels {
export class ToggleUsername {
constructor(params: { channel: Raw.TypeInputChannel; username: string; active: boolean }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x50f24105
Property
channel
: Raw.TypeInputChannelSupergroup or channel
username
: stringUsername
active
: booleanWhether to activate or deactivate the username