Raw.channels.EditAdmin

Raw.channels.EditAdmin

Modify the admin rights of a user in a supergroup/channel.

channels.editAdmin#d33c8902 channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights rank:string = Updates;
export namespace Raw {
  export namespace channels {
    export class EditAdmin {
      constructor(params: {
        channel: Raw.TypeInputChannel;
        userId: Raw.TypeInputUser;
        adminRights: Raw.TypeChatAdminRights;
        rank: string;
      }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0xd33c8902

Property

Results

Raw.TypeUpdates

Bots can use