github.com/gotd/td/tg.Config.ThisDC (field)
15 uses
github.com/gotd/td/tg (current package)
tl_config_gen.go#L69: ThisDC int
tl_config_gen.go#L255: if !(c.ThisDC == 0) {
tl_config_gen.go#L443: c.ThisDC = from.GetThisDC()
tl_config_gen.go#L821: b.PutInt(c.ThisDC)
tl_config_gen.go#L947: c.ThisDC = value
tl_config_gen.go#L1352: return c.ThisDC
github.com/gotd/td/session
session.go#L63: ThisDC: c.ThisDC,
session.go#L81: ThisDC: c.ThisDC,
github.com/gotd/td/telegram
session.go#L318: data.DC = cfg.ThisDC
session.go#L340: sessionData := dcSessionFromMTProto(cfg.ThisDC, s)
session.go#L358: if cfg.ThisDC != 0 && primaryDC != 0 && primaryDC != cfg.ThisDC {
session.go#L378: c.storeDCSess(c.cdnSessions, dcSessionFromMTProto(cfg.ThisDC, s))
github.com/gotd/td/telegram/internal/manager
conn.go#L438: c.cfg = tg.Config{ThisDC: c.dc}
conn.go#L484: c.log.Debug(ctx, "Connection initialized, ready to invoke", log.Int("this_dc", cfg.ThisDC))
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |