gram-js / gramjs

NodeJS/Browser MTProto API Telegram client library,
MIT License
1.29k stars 178 forks source link

There was a problem using gramjs in electron #645

Open yl108305 opened 8 months ago

yl108305 commented 8 months ago

image ` import { TelegramClient } from "telegram"; import { StringSession } from "telegram/sessions"; import { ipc } from "@/utils/ipcRenderer"; /**

/**`

I tried to use gramjs on electron, but it doesn't seem to work, I get an error when I get the login QR code, can someone help me My code is like this. I called the qrLoginGetQr method, which will call initGramjs. An error occurred here.

plepisnew commented 5 months ago

What error are you getting?