import { MTProto } from 'telegram-mtproto'
const api = {
layer : 57,
initConnection : 0x69796de9,
api_id : ***************
}
const server = {
dev: true
}
const client = MTProto({ server, api })
async function connect(){
const {contactStatus} = await client('contactStatus', {
user_id: '***********'
})
console.log(contactStatus);
}
connect();
No method name contactStatus found.