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 #
| Name | Type | Description |
|---|---|---|
| offset | int | Offset for pagination |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | TAKEOUT_INVALID | The specified takeout ID is invalid. |
| 403 | TAKEOUT_REQUIRED | A takeout session needs to be initialized first, see here » for more info. |
Related pages #
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.¶