Raw.bots.SetBotBroadcastDefaultAdminRights

Raw.bots.SetBotBroadcastDefaultAdminRights

Set the default suggested admin rights for bots being added as admins to channels, see here for more info on how to handle them.

bots.setBotBroadcastDefaultAdminRights#788464e1 admin_rights:ChatAdminRights = Bool;
export namespace Raw {
  export namespace bots {
    export class SetBotBroadcastDefaultAdminRights {
      constructor(params: { adminRights: Raw.TypeChatAdminRights }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0x788464e1

Property

Results

boolean

Bots can use