import { Api } from 'telegram' ; import { Snake } from '../../client' ; export async function GetLeftChannels ( snakeClient , offset = 0 ) { try { return await snakeClient . client . invoke ( new Api . channels . GetLeftChannels ( { offset : offset , } ) ) ; } catch ( error ) { return snakeClient . _handleError ( error , `telegram.getLeftChannels(${ offset })` ) ; } }