Layer 220
ChannelsGetLeftChannels
Get a list of channels/supergroups we left, requires a takeout session, see here for more info.
method
Users
channels.getLeftChannels#8341ecc0 offset:int = messages.Chats;
Parameters
| Name | Type | Description |
|---|---|---|
| Offset | int | Offset for pagination |
Returns
messages.ChatsPossible 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. |
Gogram Example
// ChannelsGetLeftChannels - positional arguments result, err := client.ChannelsGetLeftChannels(0) if err != nil { // handle error } // result is *tg.MessagesChats