logging is enabled by default to the most verbose option.to remove it you can do the following
logging.js
client.setLogLevel("none"); // no loggingclient.setLogLevel("error"); // only errorsclient.setLogLevel("warn"); // warnings tooclient.setLogLevel("info"); // info tooclient.setLogLevel("debug"); // everything
logging.ts
client.setLogLevel("none"); // no loggingclient.setLogLevel("error"); // only errorsclient.setLogLevel("warn"); // warnings tooclient.setLogLevel("info"); // info tooclient.setLogLevel("debug"); // everything
Can I use a proxy?
Sadly no, gramjs is meant to be used in both browser and nodejs ecosystem, and as far as I know, there is no way to use proxies in browsers so it's not currently possible.