Raw.bots.ToggleUsername

Raw.bots.ToggleUsername

Activate or deactivate a purchased fragment.com username associated to a bot we own.

bots.toggleUsername#53ca973 bot:InputUser username:string active:Bool = Bool;
export namespace Raw {
  export namespace bots {
    export class ToggleUsername {
      constructor(params: { bot: Raw.TypeInputUser; username: string; active: boolean }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x53ca973

Property

Results

boolean