import { Api } from 'telegram' ; import { BigInteger } from 'big-integer' ; export class MigrateTo { id ! : number ; accessHash ! : BigInteger ; constructor ( migratedTo ) { this . id = migratedTo . channelId ; this . accessHash = migratedTo . accessHash ; } }