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.
Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel.md) we're admin in. Usually called when the user exceeds the [limit](https://core.telegram.org/constructor/config.md) for owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel.md), and the user is given the choice to remove one of his channels/supergroups/geogroups.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
by_location | true | Nein | Get geogroups |
check_limit | true | Nein | If set and the user has reached the limit of owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel.md), instead of returning the channel list one of the specified [errors](#possible-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](https://core.telegram.org/method/channels.checkUsername.md)/[channels.updateUsername](https://core.telegram.org/method/channels.updateUsername.md). |
for_personal | true | Nein | Set this flag to only fetch the full list of channels that may be passed to [account.updatePersonalChannel](https://core.telegram.org/method/account.updatePersonalChannel.md) to [display them on our profile page](https://core.telegram.org/api/profile.md#personal-channel). |
for_community_peer | true | Nein | Wert des TL-Typs `true`. |
Antworten
messages.Chats
MTProto RPC
- 400 · CHANNELS_ADMIN_LOCATED_TOO_MUCH – Der Benutzer hat die Grenze der öffentlichen Geogruppen erreicht.
- 400 · CHANNELS_ADMIN_PUBLIC_TOO_MUCH – Sie sind Administrator von zu vielen öffentlichen Kanälen. Machen Sie einige Kanäle privat, um den Benutzernamen dieses Kanals zu ändern.