Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

Latest commit

 

History

History
41 lines (29 loc) · 911 Bytes

File metadata and controls

41 lines (29 loc) · 911 Bytes

FAQ

Frequently asked questions

Table of Contents

How do I stop logging?

logging is enabled by default to the most verbose option.to remove it you can do the following

::::tabs :::tab{title="JavaScript"}

client.setLogLevel("none"); // no logging
client.setLogLevel("error"); // only errors
client.setLogLevel("warn"); // warnings too
client.setLogLevel("info"); // info too
client.setLogLevel("debug"); // everything

::: :::tab{title="TypeScript"}

client.setLogLevel("none"); // no logging
client.setLogLevel("error"); // only errors
client.setLogLevel("warn"); // warnings too
client.setLogLevel("info"); // info too
client.setLogLevel("debug"); // everything

::: ::::

Can I use a proxy?

Yes you can, but only on Node!

Currently only socks5,4 and MTProto proxies are supported. HTTP proxies are not supported as they required a completely different connection type.