Raw.channels.GetAdminedPublicChannels

Raw.channels.GetAdminedPublicChannels

Get channels/supergroups/geogroups we’re admin in. usually called when the user exceeds the limit for owned public channels/supergroups/geogroups, and the user is given the choice to remove one of his channels/supergroups/geogroups.

channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true for_personal:flags.2?true = messages.Chats;
export namespace Raw {
  export namespace channels {
    export class GetAdminedPublicChannels {
      constructor(params: { byLocation?: boolean; checkLimit?: boolean; forPersonal?: boolean }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0xf8b036af

Property

  • byLocation : boolean or undefined

    Get geogroups

  • checkLimit : boolean or undefined

    If set and the user has reached the limit of owned public channels/supergroups/geogroups, instead of returning the channel list one of the specified errors will be returned.useful to check if a new public channel can indeed be created, even before asking the user to enter a channel username to use in channels.checkusername/channels.updateusername.

  • forPersonal : boolean or undefined

    Set this flag to only fetch the full list of channels that may be passed to account.updatepersonalchannel to display them on our profile page.

Results

Raw.messages.TypeChats