Raw.bots.SetBotGroupDefaultAdminRights
Set the default suggested admin rights for bots being added as admins to groups, see here for more info on how to handle them.
bots.setBotGroupDefaultAdminRights#925ec9ea admin_rights:ChatAdminRights = Bool;
export namespace Raw {
export namespace bots {
export class SetBotGroupDefaultAdminRights {
constructor(params: { adminRights: Raw.TypeChatAdminRights }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x925ec9ea
Property
adminRights
: Raw.TypeChatAdminRightsAdmin rights