import { Api } from 'telegram' ; import { Snake } from '../../client' ; export async function GetInactiveChannels ( snakeClient ) { try { return await snakeClient . client . invoke ( new Api . channels . GetInactiveChannels ( ) ) ; } catch ( error ) { return snakeClient . _handleError ( error , `telegram.getInactiveChannels()` ) ; } }