Aleksandr Razumov
Aleksandr Razumov
For now you can use [Client.Self](https://pkg.go.dev/github.com/gotd/td/telegram#Client.Self) method to access current UserID and cache it. Initially @xjem proposed to do it implicitly (cache it on first call and set FromID), but...
Related: #271
Yes, this can be achieved in #15 Currently I can't come with a way of abstracting out zap logging without losing performance or usability. Can you please provide examples of...
```go // L defined logger interface used everywhere in the package type L interface { Logf(format string, args ...interface{}) } ``` So there are no way to use subloggers, structured...
I need statically typed structured logger with good performance, if someone will come up with zap-like interface for abstract logger I'm ok with it.
I'll return to this near 1.0 release, probably I'll extract abstract logger to separate package under gotd org. I've seen lots of bad approaches to this problem and just don't...
We can use chromedp here, pretty trivial
Personally I prefer always using `time.Time` directly, client and server should handle timezones automatically for DateTime, DateTime64. Internally (on the wire) it is always UTC, TZ is used only for:...
What time do you expect when specifying `2022-07-20 17:42:48` on insert? * Server time zone * Client local time zone * UTC
The reason is strings are encoded as length-value, so for each row we first decode length and then read value. That leads to much higher overhead compared to UInt64, because...