channels.getLeftChannels #

Get a list of channels/supergroups we left, requires a takeout session, see here » for more info.

Layer 223

messages.chats#64ff9fd5 chats:Vector<Chat> = messages.Chats;
messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats;
---functions---
channels.getLeftChannels#8341ecc0 offset:int = messages.Chats;

Parameters #

NameTypeDescription
offsetintOffset for pagination

Result #

messages.Chats

Only users can use this method #

Possible errors #

CodeTypeDescription
400TAKEOUT_INVALIDThe specified takeout ID is invalid.
403TAKEOUT_REQUIREDA takeout session needs to be initialized first, see here » for more info.

Pagination in the API #

How to fetch results from large lists of objects.

Channels, supergroups, gigagroups and basic groups #

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

Takeout API #

Telegram's API allows users to export all of their information through the takeout API.